From 8447e4ac32cf6f768e38c60b0d766d7fda8f62c5 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 26 Mar 2025 21:25:44 +0800 Subject: [PATCH] opt: optimize buffer scale --- maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maomao.c b/maomao.c index dfbec42..ee06e27 100644 --- a/maomao.c +++ b/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; }