mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
widget: don't queue a redraw on css transform changes
This commit is contained in:
parent
2c3a41a81a
commit
1e4dc90d62
@ -4743,7 +4743,7 @@ gtk_widget_real_css_changed (GtkWidget *widget,
|
||||
}
|
||||
else if (gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_TRANSFORM))
|
||||
{
|
||||
gtk_widget_queue_allocate (widget);
|
||||
gtk_widget_queue_allocate (priv->parent);
|
||||
}
|
||||
else if (gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_REDRAW) ||
|
||||
(has_text && gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_TEXT_CONTENT)))
|
||||
|
Loading…
Reference in New Issue
Block a user