mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3f34835bac
commit
2da80ae0ea
@ -437,7 +437,7 @@ def current_cfi():
|
|||||||
deltax = page_width // 25
|
deltax = page_width // 25
|
||||||
deltay = window.innerHeight // 25
|
deltay = window.innerHeight // 25
|
||||||
cury = 0
|
cury = 0
|
||||||
while cury < window.innerHeight - this.effective_margin_bottom:
|
while cury < window.innerHeight:
|
||||||
curx = left + side_margin
|
curx = left + side_margin
|
||||||
while curx < right - side_margin:
|
while curx < right - side_margin:
|
||||||
cfi = cfi_at_point(curx-window.pageXOffset, cury-window.pageYOffset)
|
cfi = cfi_at_point(curx-window.pageXOffset, cury-window.pageYOffset)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user