mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
themingengine: Set current point to 0,0 when rendering rotated layout
Otherwise the layout may move to who-knows-where
This commit is contained in:
parent
3ace68ee6f
commit
5084739756
@ -2419,6 +2419,7 @@ gtk_theming_engine_render_layout (GtkThemingEngine *engine,
|
||||
cairo_matrix.y0 += y - rect.y;
|
||||
|
||||
cairo_set_matrix (cr, &cairo_matrix);
|
||||
cairo_move_to (cr, 0, 0);
|
||||
}
|
||||
else
|
||||
cairo_move_to (cr, x, y);
|
||||
|
Loading…
Reference in New Issue
Block a user