mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-04 03:16:48 +01:00
fix rotate
This commit is contained in:
parent
4e6d73a912
commit
52775364f7
1 changed files with 0 additions and 4 deletions
|
@ -243,10 +243,6 @@ zathura_page_widget_expose(GtkWidget* widget, GdkEventExpose* event)
|
||||||
|
|
||||||
unsigned int page_height = widget->allocation.height;
|
unsigned int page_height = widget->allocation.height;
|
||||||
unsigned int page_width = widget->allocation.width;
|
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) {
|
switch (priv->page->document->rotate) {
|
||||||
case 90:
|
case 90:
|
||||||
|
|
Loading…
Reference in a new issue