fix: animation none type not effect
This commit is contained in:
@@ -883,9 +883,7 @@ void client_set_pending_state(Client *c) {
|
|||||||
(!c->animation_type_open &&
|
(!c->animation_type_open &&
|
||||||
strcmp(animation_type_open, "none") == 0)) &&
|
strcmp(animation_type_open, "none") == 0)) &&
|
||||||
c->animation.action == OPEN) {
|
c->animation.action == OPEN) {
|
||||||
c->animation.action = MOVE;
|
c->animation.duration = 0;
|
||||||
c->is_pending_open_animation = false;
|
|
||||||
c->animation.should_animate = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 开始动画
|
// 开始动画
|
||||||
|
|||||||
Reference in New Issue
Block a user