Hide hover highlight when moving with keybinds

This commit is contained in:
miruka
2019-08-20 14:29:03 -04:00
parent 073a2eacee
commit 7e7852b51e
4 changed files with 36 additions and 5 deletions

View File

@@ -45,6 +45,11 @@ HInteractiveRectangle {
onTriggered: if (isCurrent) beHighlighted()
}
Connections {
target: accountRoomList
onHideHoverHighlight: roomDelegate.hovered = false
}
TapHandler {
onTapped: {
accountRoomList.highlightRangeMode = ListView.NoHighlightRange
@@ -57,8 +62,6 @@ HInteractiveRectangle {
HRowLayout {
id: rowLayout
property var pr: sidePane.currentSpacing
onPrChanged: print("pr changed:", pr, spacing, x)
spacing: sidePane.currentSpacing
x: sidePane.currentSpacing