mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-21 05:34:05 -04:00
fix: fix drag to resize
This commit is contained in:
parent
8a769eaf03
commit
02690694d8
2 changed files with 4 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue