print preview: fix layout drawing for 1X2 and 2X1 layouts (#291)
The indices were backwards, which was causing incorrect layout, and scrolling issues at larger zoom levels.
This commit is contained in:
parent
d208cae3bc
commit
2e3f337e84
|
@ -1124,7 +1124,7 @@ preview_draw (GtkWidget *widget,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
draw_page (cr, j * priv->tile_w, i * priv->tile_h, pg, preview);
|
draw_page (cr, i * priv->tile_w, j * priv->tile_h, pg, preview);
|
||||||
|
|
||||||
++pg;
|
++pg;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue