优化起始位置,如果动画被其他动画打断,那就继续当前位置为动画位置

This commit is contained in:
DreamMaoMao 2025-02-08 14:59:27 +08:00
parent 493539053f
commit 4cfe3459d6

2
main.c
View file

@ -3774,7 +3774,7 @@ void resize(Client *c, struct wlr_box geo, int interact) {
} else if (c->is_open_animation) {
set_open_animaiton(c, c->geom);
} else {
c->animainit_geom = oldgeom;
c->animainit_geom = c->animation.current;
}
if (c->isnoborder || c->iskilling) {