This commit is contained in:
Black Hat
2019-06-24 20:45:33 +08:00
parent c135455a3f
commit e72780ade3

View File

@@ -237,6 +237,7 @@ Item {
highlightMoveDuration: 500 highlightMoveDuration: 500
boundsBehavior: Flickable.DragOverBounds boundsBehavior: Flickable.DragOverBounds
model: SortFilterProxyModel { model: SortFilterProxyModel {
id: sortedMessageEventModel id: sortedMessageEventModel
@@ -425,10 +426,10 @@ Item {
onClicked: messageListView.positionViewAtBeginning() onClicked: messageListView.positionViewAtBeginning()
} }
}
Control { Control {
Layout.maximumWidth: parent.width * 0.8 anchors.left: parent.left
anchors.bottom: parent.bottom
visible: currentRoom && currentRoom.hasUsersTyping visible: currentRoom && currentRoom.hasUsersTyping
padding: 8 padding: 8
@@ -460,6 +461,12 @@ Item {
} }
} }
Keys.onUpPressed: scrollBar.decrease()
Keys.onDownPressed: scrollBar.increase()
ScrollBar.vertical: ScrollBar { id: scrollBar }
}
RoomPanelInput { RoomPanelInput {
Layout.fillWidth: true Layout.fillWidth: true