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:
Kovid Goyal 2014-10-06 12:02:22 +05:30
parent b9ee383898
commit f623249847
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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