forked from AuroraMiddleware/gtk
GtkThemingEngine: Render tabs background in the correct direction.
The cairo context has been already rotated, so using GTK_JUNCTION_BOTTOM is expected to be used there.
This commit is contained in:
parent
2371ed8b87
commit
d80868aa68
@ -2506,12 +2506,11 @@ gtk_theming_engine_render_extension (GtkThemingEngine *engine,
|
||||
gap_side == GTK_POS_BOTTOM)
|
||||
render_background_internal (engine, cr,
|
||||
0, 0, width, height,
|
||||
junction);
|
||||
GTK_JUNCTION_BOTTOM);
|
||||
else
|
||||
render_background_internal (engine, cr,
|
||||
0, 0, height, width,
|
||||
junction);
|
||||
|
||||
GTK_JUNCTION_BOTTOM);
|
||||
cairo_restore (cr);
|
||||
|
||||
cairo_save (cr);
|
||||
|
Loading…
Reference in New Issue
Block a user