From 0c07719e2910f090af2f92a858c90a25f7eb8d1a Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 19 Feb 2025 16:43:06 +0800 Subject: [PATCH] opt:less animation jitter --- maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maomao.c b/maomao.c index 0ab515f..f6cb1f4 100644 --- a/maomao.c +++ b/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) {