Tighten popout overlay trigger zones to 40px
This commit is contained in:
parent
e01aa86063
commit
c6c4df1e77
@ -343,7 +343,7 @@ class FullscreenPreview(QMainWindow):
|
||||
if event.type() == QEvent.Type.MouseMove and self.isActiveWindow():
|
||||
y = event.position().y() if hasattr(event, 'position') else event.pos().y()
|
||||
h = self.centralWidget().height()
|
||||
toolbar_zone = 60 # px from top/bottom edge to trigger
|
||||
toolbar_zone = 40 # px from top/bottom edge to trigger
|
||||
if y < toolbar_zone:
|
||||
self._toolbar.show()
|
||||
self._hide_timer.start()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user