mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: When scrolling to a bookmark and the content is wider than the window, do not scroll in the horizontal direction
This commit is contained in:
parent
32c1ef8ef6
commit
dcb425ebbf
@ -41,6 +41,7 @@ function scroll_to_bookmark(bookmark) {
|
||||
$.scrollTo($(bm[0]), 1000,
|
||||
{
|
||||
over:ratio,
|
||||
axis: 'y',
|
||||
onAfter:function(){window.py_bridge.animated_scroll_done()}
|
||||
}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user