Created
September 2, 2022 13:29
-
-
Save Riesi/72412ebd95b4945c5514b970c4673e07 to your computer and use it in GitHub Desktop.
fixes Evince in non-continous mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libview/ev-view.c b/libview/ev-view.c | |
index 1ffbf16b..3ed571fe 100644 | |
--- a/libview/ev-view.c | |
+++ b/libview/ev-view.c | |
@@ -1090,6 +1090,8 @@ ev_view_scroll (EvView *view, | |
} else if (value == lower) { | |
value = upper - page_size; | |
ev_view_previous_page (view); | |
+ // show bottom when going backwards | |
+ view->pending_point.y = value; | |
/* Jump to the top */ | |
} else { | |
increment = compute_scroll_increment (view, GTK_SCROLL_PAGE_BACKWARD); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment