From e925309ae40f615a32a6b0bdf45f74ff974af59c Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sat, 11 Oct 2025 11:39:13 +0800 Subject: [PATCH] opt: allow scroller window resize to 1.0 per --- src/layout/arrange.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/arrange.h b/src/layout/arrange.h index e57c821..90600f9 100644 --- a/src/layout/arrange.h +++ b/src/layout/arrange.h @@ -451,7 +451,7 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int offsetx, int offsety, // 应用限制,确保比例在合理范围内 new_scroller_proportion = - fmaxf(0.1f, fminf(0.9f, new_scroller_proportion)); + fmaxf(0.1f, fminf(1.0f, new_scroller_proportion)); grabc->scroller_proportion = new_scroller_proportion;