mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-21 06:46:26 -04:00
优化起始位置,如果动画被其他动画打断,那就继续当前位置为动画位置
This commit is contained in:
parent
493539053f
commit
4cfe3459d6
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -3774,7 +3774,7 @@ void resize(Client *c, struct wlr_box geo, int interact) {
|
||||||
} else if (c->is_open_animation) {
|
} else if (c->is_open_animation) {
|
||||||
set_open_animaiton(c, c->geom);
|
set_open_animaiton(c, c->geom);
|
||||||
} else {
|
} else {
|
||||||
c->animainit_geom = oldgeom;
|
c->animainit_geom = c->animation.current;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c->isnoborder || c->iskilling) {
|
if (c->isnoborder || c->iskilling) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue