fix: scroller is mistakenly reset when chang focus in tag animaiton

This commit is contained in:
DreamMaoMao 2025-04-07 13:55:19 +08:00
parent d770039ce1
commit 2aea42c275

View file

@ -1646,6 +1646,8 @@ arrange(Monitor *m, bool want_animation) {
c->animainit_geom.x = c->animation.running ? c->animation.current.x
: m->m.x - c->geom.width;
}
} else {
c->animainit_geom.x = c->animation.current.x;
}
c->animation.from_rule = false;