-
-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 3+ split layout #1
Comments
It's not due to either float division or rounding error. It's due to the code being written as if the percentages for the two panes whose boundary is being moved add to 100%. If there are more than two panes, this is not true. I have a fixed version, for which I will submit a pull request as soon as I figure out how. (GitHub newbie here.) I also have a transposition into the key of vertical splits, which I will also include in my pull request. |
Awesome! Excited to check it out :) |
Still trying to wrap my brain around GitHub. Submitted one pull request just to fix the recalc-on-drag. Will do the vertical splits separately. |
Check this out @RodMontgomery. Wrapped my head around the >2 case. Both the first and the last gutters should be |
Because of a float division or rounding error, when splitting in 3 or more panes, the total width is too wide and the last pane falls off.
The text was updated successfully, but these errors were encountered: