mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
shadow: add blur to icon-shadow (spinner)
This commit is contained in:
parent
10e2684870
commit
3377271ef0
@ -430,6 +430,8 @@ _gtk_css_shadow_value_paint_spinner (const GtkCssValue *shadow,
|
||||
|
||||
cairo_save (cr);
|
||||
|
||||
cr = gtk_css_shadow_value_start_drawing (shadow, cr);
|
||||
|
||||
cairo_translate (cr,
|
||||
_gtk_css_number_value_get (shadow->hoffset, 0),
|
||||
_gtk_css_number_value_get (shadow->voffset, 0));
|
||||
@ -437,6 +439,8 @@ _gtk_css_shadow_value_paint_spinner (const GtkCssValue *shadow,
|
||||
radius, progress,
|
||||
_gtk_css_rgba_value_get_rgba (shadow->color));
|
||||
|
||||
cr = gtk_css_shadow_value_finish_drawing (shadow, cr);
|
||||
|
||||
cairo_restore (cr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user