mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: Improve performance when switching between normal and fullscreen views
This commit is contained in:
parent
9dd54e99cc
commit
ba92becea5
@ -389,7 +389,7 @@ class CanonicalFragmentIdentifier
|
|||||||
# Drill down into iframes, etc.
|
# Drill down into iframes, etc.
|
||||||
while true
|
while true
|
||||||
target = cdoc.elementFromPoint x, y
|
target = cdoc.elementFromPoint x, y
|
||||||
if not target or target.localName == 'html'
|
if not target or target.localName in ['html', 'body']
|
||||||
# log("No element at (#{ x }, #{ y })")
|
# log("No element at (#{ x }, #{ y })")
|
||||||
return null
|
return null
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user