Closed emanuele6 closed 1 year ago
Drafting, I can no longer reproduce the bug.
The bug can only be reproduced with those steps if the tree is:
1
/ \
A 2
/ \
B 3
/ \
C D
Not if it is:
1
/ \
A 2
/ \
3 D
/ \
B C
I was reproducing the bug with the second tree state after applying my previous patch, so I thought it fixed the issue when it actually accomplished nothing.
The new patch actually fixes the bug.
The bug can also be reproduced if B's state is changed to floating
. Any vacant node should be skipped, not just hidden nodes.
Before this patch, resizing A vertically right after hiding B in the following layout, would squish C.