mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
opt: optimize buffer scale
This commit is contained in:
parent
ed6d71b0fc
commit
8447e4ac32
1 changed files with 1 additions and 1 deletions
2
maomao.c
2
maomao.c
|
|
@ -4186,7 +4186,7 @@ void buffer_set_size(Client *c, animationScale data) {
|
|||
(double)c->animation.passed_frames / c->animation.total_frames;
|
||||
|
||||
if (c->animation.current.width <= c->geom.width &&
|
||||
c->animation.current.height <= c->geom.height && animation_passed > 0.1) {
|
||||
c->animation.current.height <= c->geom.height && (c->animation.action != OPEN || animation_passed > 0.1)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue