mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: allow scroller window resize to 1.0 per
This commit is contained in:
parent
d55d40f8fe
commit
e925309ae4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue