From c8accfb9e5ed5a47d805eda6dfc1aad6c4bdbae7 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 19 Feb 2025 16:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=83=E5=B0=91=E5=8A=A8=E7=94=BB=E6=8A=96?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maomao.c b/maomao.c index 43b65f09..b0c30463 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) {