From f7624db5632c78dc777736868a897e7a59f8173d Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 8 Sep 2025 16:26:53 +0800 Subject: [PATCH] fix: animation none type not effect --- src/animation/client.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/animation/client.h b/src/animation/client.h index 7b825a7..d8ba106 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -757,9 +757,7 @@ void client_set_pending_state(Client *c) { (!c->animation_type_open && strcmp(animation_type_open, "none") == 0)) && c->animation.action == OPEN) { - c->animation.action = MOVE; - c->is_pending_open_animation = false; - c->animation.should_animate = false; + c->animation.duration = 0; } // 开始动画