CSS animation remains even after removing the class that added it
Hey,
I was animating the primary icon of GtkEntry through CSS:
entry.search.indexing image.left { animation: spin 1s linear infinite; }
Turns out when you remove the "indexing" class from the entry
, it keeps on animating. I presume that's a bug. A workaround for now seems to be to explicitly disable any animation with a negative-selector:
entry.search:not(.indexing) image.left { animation: none; }
This with GTK v3.24.7+25+g17665f06e3-1 on Arch Linux.