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:
Stephen Collins 2019-05-03 09:19:49 -06:00 committed by Clement Lefebvre
parent d208cae3bc
commit 2e3f337e84
1 changed files with 1 additions and 1 deletions

View File

@ -1124,7 +1124,7 @@ preview_draw (GtkWidget *widget,
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;
}