From f623249847b94e684950b134af14e35b039e40d2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 Oct 2014 12:02:22 +0530 Subject: [PATCH] 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. --- resources/compiled_coffeescript.zip | Bin 95450 -> 95495 bytes .../ebooks/oeb/display/full_screen.coffee | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/compiled_coffeescript.zip b/resources/compiled_coffeescript.zip index b9272bc19bafbd51789796ca8ad1ba06ed5808d5..a998e25c5896bb3615eb557a5a8bed866b81c277 100644 GIT binary patch delta 363 zcmcchlC}L6>jtN6UgZQg*DL!|yj-~$7+g2|XHR6Gyv|e>8!A}D!3ux^3Mu)?rMVzgN%<+2nwv$7MH!_H;aZb(GJ$dt znhI)a3Lq_po1II%87JE$@@<}5diN))1E#mz$iNTKq>ch&H_d)ra#?a zfk{1F(?fuK#{1Lj3m83^SpI>9r{61JG-CWTU9gbRgC$&&kzu-i5u^O{nnFe`W2^kpveS4r^7QrjjC?vuRtidKrUu5TmIg^i76z7v zM&@ZoX-Vd3rb%hWi3W+r#wLlWsfH=0$wrpbtBM$tz%DZ>W^@L*=vfh?^>nKu#<1yo Y3K_YkijtN6-b>z@E-F`U{*mBfV364CpFNRX#+pk33^LOcG*Zh_^Gfte5{uGP zOB57sZ6{CUk=*Q9EXpXUV5Nij1@G__1kvq&>bOHDILOENGwv9w4wOSCXHuuLnf{@OQEd8~ zVn+YzY{iT|(-#yox=wE>VdMZiGq#w~dHUrNM&s#4C5(~N{}(Z`Pp>m#33ToI!wV=Vx(-gImL diff --git a/src/calibre/ebooks/oeb/display/full_screen.coffee b/src/calibre/ebooks/oeb/display/full_screen.coffee index 2e1ee204c7..c53dc69455 100644 --- a/src/calibre/ebooks/oeb/display/full_screen.coffee +++ b/src/calibre/ebooks/oeb/display/full_screen.coffee @@ -50,7 +50,7 @@ class FullScreen s.marginRight = this.initial_right_margin 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 res = null if window.paged_display.in_paged_mode