Commit 52775364 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

fix rotate

parent 4e6d73a9
......@@ -243,10 +243,6 @@ zathura_page_widget_expose(GtkWidget* widget, GdkEventExpose* event)
unsigned int page_height = widget->allocation.height;
unsigned int page_width = widget->allocation.width;
if (priv->page->document->rotate % 180) {
page_height = widget->allocation.width;
page_width = widget->allocation.height;
}
switch (priv->page->document->rotate) {
case 90:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment