Skip to content
Commit 77ba1d76 authored by António Fernandes's avatar António Fernandes Committed by António Fernandes
Browse files

css: Don't use -gtk-icon-shadow for thumbnails

Gaussian blur has high performance impact. Also, thumbnails with
transparent areas don't get a shadow around their bounding rectangle.

Instead, use gtk_render_background() which is both cheaper and allows
us to use the same CSS from the GTK 4 port. Furthermore, it allows us
to set an  opaque background for thumbnails with transparent parts.

Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2161
parent 404996a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment