mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:46:01 +01:00
Render first page immediatly
This commit is contained in:
parent
0398692705
commit
88fd3e555a
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ page_set(unsigned int page_id)
|
|||
}
|
||||
|
||||
GtkAdjustment* view_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(Zathura.UI.session->gtk.view));
|
||||
gtk_adjustment_set_value(view_vadjustment, page->offset);
|
||||
cb_view_vadjustment_value_changed(view_vadjustment, NULL);
|
||||
|
||||
/* update page number */
|
||||
Zathura.document->current_page_number = page_id;
|
||||
|
|
Loading…
Reference in a new issue