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
|
- buttons
|
||||||
- keyboard controls
|
- keyboard controls
|
||||||
- prevent drag-scrolling timeline when image opened
|
- 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
|
- clipboard preview doesn't update when copied image changes until second time
|
||||||
- Avatar tooltip can get displayed in front of presence menu
|
- Avatar tooltip can get displayed in front of presence menu
|
||||||
|
|
|
@ -58,6 +58,7 @@ HPopup {
|
||||||
ScrollBar.vertical: null
|
ScrollBar.vertical: null
|
||||||
|
|
||||||
TapHandler {
|
TapHandler {
|
||||||
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
onTapped: popup.close()
|
onTapped: popup.close()
|
||||||
gesturePolicy: TapHandler.ReleaseWithinBounds
|
gesturePolicy: TapHandler.ReleaseWithinBounds
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user