Fix using up/down arrows when focusing sidepane

Pause the HTileDelegates setCurrentTimer when the SidePane has focus.
This commit is contained in:
miruka 2019-08-30 10:56:38 -04:00
parent 4587599cf5
commit 244fc12465
3 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,6 @@
- Fixes
- Collapsing last account with shortcut when focused on room
- Using up/down when sidepane focused
- Missing hourglass when changing avatar and applying
- Icons on KDE
- Greentext for local echo

View File

@ -15,7 +15,8 @@ HTileDelegate {
window.uiState.page == "Pages/EditAccount/EditAccount.qml" &&
window.uiState.pageProperties.userId == model.data.user_id
setCurrentTimer.running: ! accountRoomList.activateLimiter.running
setCurrentTimer.running:
! accountRoomList.activateLimiter.running && ! sidePane.hasFocus
Behavior on opacity { HNumberAnimation {} }

View File

@ -14,7 +14,8 @@ HTileDelegate {
window.uiState.pageProperties.userId == model.user_id &&
window.uiState.pageProperties.roomId == model.data.room_id
setCurrentTimer.running: ! accountRoomList.activateLimiter.running
setCurrentTimer.running:
! accountRoomList.activateLimiter.running && ! sidePane.hasFocus
Behavior on opacity { HNumberAnimation {} }