mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
css: Allow transitioning different-size shadows
The code handles it just fine. The length check was an erronous addition.
This commit is contained in:
parent
e9b06b6346
commit
919c08d4fd
@ -172,9 +172,6 @@ gtk_css_value_shadow_transition (GtkCssValue *start,
|
||||
guint i, len;
|
||||
ShadowValue *shadows;
|
||||
|
||||
if (start->n_shadows != end->n_shadows)
|
||||
return NULL;
|
||||
|
||||
if (start->n_shadows > end->n_shadows)
|
||||
len = start->n_shadows;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user