toy-toolkit: Fix rotations
Ever since commit 3012934 some rotations have been broken. This is because I transposed xy and yx in the cairo_matrix_init() call. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
90c11cf40e
commit
f0196739ae
@ -1661,7 +1661,7 @@ widget_cairo_update_transform(struct widget *widget, cairo_t *cr)
|
||||
surface->allocation.width,
|
||||
surface->allocation.height,
|
||||
surface->buffer_scale);
|
||||
cairo_matrix_init(&m, matrix.d[0], matrix.d[4], matrix.d[1],
|
||||
cairo_matrix_init(&m, matrix.d[0], matrix.d[1], matrix.d[4],
|
||||
matrix.d[5], matrix.d[12], matrix.d[13]);
|
||||
cairo_transform(cr, &m);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user