Allow right clicking outside of image to close it
This commit is contained in:
parent
8053bd7d01
commit
48014cb8e5
1
TODO.md
1
TODO.md
|
@ -8,7 +8,6 @@
|
|||
- buttons
|
||||
- keyboard controls
|
||||
- prevent drag-scrolling timeline when image opened
|
||||
- right click in dark space of image viewer
|
||||
|
||||
- clipboard preview doesn't update when copied image changes until second time
|
||||
- Avatar tooltip can get displayed in front of presence menu
|
||||
|
|
|
@ -58,6 +58,7 @@ HPopup {
|
|||
ScrollBar.vertical: null
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
onTapped: popup.close()
|
||||
gesturePolicy: TapHandler.ReleaseWithinBounds
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user