mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 07:33:46 +01:00
Render first page immediatly
This commit is contained in:
parent
0398692705
commit
88fd3e555a
@ -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));
|
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 */
|
/* update page number */
|
||||||
Zathura.document->current_page_number = page_id;
|
Zathura.document->current_page_number = page_id;
|
||||||
|
Loading…
Reference in New Issue
Block a user