css: Allow transitioning different-size shadows

The code handles it just fine. The length check was
an erronous addition.
This commit is contained in:
Matthias Clasen 2021-02-02 15:22:32 -05:00
parent e9b06b6346
commit 919c08d4fd

View File

@ -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