From 86f6640299026e4330086bfa54630b649cf4b889 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sun, 13 Jul 2025 14:00:22 +0800 Subject: [PATCH] fix: miss judge global animations option in layer close animation --- src/animation/layer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation/layer.h b/src/animation/layer.h index b557e3d..efe9161 100644 --- a/src/animation/layer.h +++ b/src/animation/layer.h @@ -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; }