mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
E-book viewer: Fix page turning by clicking in the margins in full screen mode (when displaying more than one page per screen) not working because of a Qt 5 behavior change.
This commit is contained in:
parent
b9ee383898
commit
f623249847
Binary file not shown.
@ -50,7 +50,7 @@ class FullScreen
|
|||||||
s.marginRight = this.initial_right_margin
|
s.marginRight = this.initial_right_margin
|
||||||
|
|
||||||
handle_click: (event) ->
|
handle_click: (event) ->
|
||||||
if event.target != document.documentElement or event.button != 0
|
if event.target not in [document.documentElement, document.body] or event.button != 0
|
||||||
return
|
return
|
||||||
res = null
|
res = null
|
||||||
if window.paged_display.in_paged_mode
|
if window.paged_display.in_paged_mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user