mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
opt:less animation jitter
This commit is contained in:
parent
ed1149810d
commit
0c07719e29
1 changed files with 1 additions and 1 deletions
2
maomao.c
2
maomao.c
|
|
@ -3646,7 +3646,7 @@ void scene_buffer_apply_size(struct wlr_scene_buffer *buffer, int sx, int sy, vo
|
|||
}
|
||||
|
||||
void buffer_set_size(Client *c, animationScale data) {
|
||||
if (c->animainit_geom.width < c->current.width && c->animainit_geom.height < c->geom.height) {
|
||||
if (c->animainit_geom.width <= c->current.width && c->animainit_geom.height <= c->geom.height) {
|
||||
return;
|
||||
}
|
||||
if(c->iskilling|| c->animation.tagouting || c->animation.tagining || c->animation.tagouted) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue