fix: miss judge global animations option in layer close animation

This commit is contained in:
DreamMaoMao 2025-07-13 14:00:22 +08:00
parent 057cfc1b8b
commit 86f6640299

View file

@ -354,7 +354,7 @@ void layer_animation_next_tick(LayerSurface *l) {
void init_fadeout_layers(LayerSurface *l) {
if (!layer_animations || l->noanim) {
if (!animations || !layer_animations || l->noanim) {
return;
}