fix: animation none type not effect

This commit is contained in:
DreamMaoMao 2025-09-08 16:26:53 +08:00
parent c3cc080773
commit f7624db563

View file

@ -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;
}
// 开始动画