fix: fix drag to resize

This commit is contained in:
DreamMaoMao 2026-01-17 16:33:09 +08:00
parent 8a769eaf03
commit 02690694d8
2 changed files with 4 additions and 6 deletions

View file

@ -464,6 +464,9 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int32_t offsetx,
fmaxf(0.1f, fminf(1.0f, new_scroller_proportion));
grabc->scroller_proportion = new_scroller_proportion;
if(grabc->prev_in_stack) {
grabc->prev_in_stack->scroller_proportion = grabc->scroller_proportion;
}
if (!isdrag) {
arrange(grabc->mon, false, false);