mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-19 06:59:56 -05:00
fix: scroller is mistakenly reset when chang focus in tag animaiton
This commit is contained in:
parent
d770039ce1
commit
2aea42c275
1 changed files with 2 additions and 0 deletions
2
maomao.c
2
maomao.c
|
|
@ -1646,6 +1646,8 @@ arrange(Monitor *m, bool want_animation) {
|
||||||
c->animainit_geom.x = c->animation.running ? c->animation.current.x
|
c->animainit_geom.x = c->animation.running ? c->animation.current.x
|
||||||
: m->m.x - c->geom.width;
|
: m->m.x - c->geom.width;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
c->animainit_geom.x = c->animation.current.x;
|
||||||
}
|
}
|
||||||
|
|
||||||
c->animation.from_rule = false;
|
c->animation.from_rule = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue