Deal with the abscence of horizontal/vertical class when rendering an expander
This commit is contained in:
@ -2032,7 +2032,7 @@ gtk_theming_engine_render_expander (GtkThemingEngine *engine,
|
|||||||
if (!running)
|
if (!running)
|
||||||
progress = (flags & GTK_STATE_FLAG_ACTIVE) ? 1 : 0;
|
progress = (flags & GTK_STATE_FLAG_ACTIVE) ? 1 : 0;
|
||||||
|
|
||||||
if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_VERTICAL))
|
if (!gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_HORIZONTAL))
|
||||||
{
|
{
|
||||||
if (is_rtl)
|
if (is_rtl)
|
||||||
angle = (G_PI) - ((G_PI / 2) * progress);
|
angle = (G_PI) - ((G_PI / 2) * progress);
|
||||||
|
Reference in New Issue
Block a user