Fix using up/down arrows when focusing sidepane
Pause the HTileDelegates setCurrentTimer when the SidePane has focus.
This commit is contained in:
		
							
								
								
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							@@ -12,7 +12,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
- Fixes
 | 
					- Fixes
 | 
				
			||||||
  - Collapsing last account with shortcut when focused on room
 | 
					  - Collapsing last account with shortcut when focused on room
 | 
				
			||||||
  - Using up/down when sidepane focused
 | 
					 | 
				
			||||||
  - Missing hourglass when changing avatar and applying
 | 
					  - Missing hourglass when changing avatar and applying
 | 
				
			||||||
  - Icons on KDE
 | 
					  - Icons on KDE
 | 
				
			||||||
  - Greentext for local echo
 | 
					  - Greentext for local echo
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,7 +15,8 @@ HTileDelegate {
 | 
				
			|||||||
        window.uiState.page == "Pages/EditAccount/EditAccount.qml" &&
 | 
					        window.uiState.page == "Pages/EditAccount/EditAccount.qml" &&
 | 
				
			||||||
        window.uiState.pageProperties.userId == model.data.user_id
 | 
					        window.uiState.pageProperties.userId == model.data.user_id
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    setCurrentTimer.running: ! accountRoomList.activateLimiter.running
 | 
					    setCurrentTimer.running:
 | 
				
			||||||
 | 
					        ! accountRoomList.activateLimiter.running && ! sidePane.hasFocus
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Behavior on opacity { HNumberAnimation {} }
 | 
					    Behavior on opacity { HNumberAnimation {} }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,8 @@ HTileDelegate {
 | 
				
			|||||||
        window.uiState.pageProperties.userId == model.user_id &&
 | 
					        window.uiState.pageProperties.userId == model.user_id &&
 | 
				
			||||||
        window.uiState.pageProperties.roomId == model.data.room_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 {} }
 | 
					    Behavior on opacity { HNumberAnimation {} }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user