Skip to content

Make it so separators are always clamped between their bounds#289

Merged
anhosh merged 2 commits intorelease-0.18from
fix-split-updates
Oct 22, 2025
Merged

Make it so separators are always clamped between their bounds#289
anhosh merged 2 commits intorelease-0.18from
fix-split-updates

Conversation

@anhosh
Copy link
Owner

@anhosh anhosh commented Aug 24, 2025

Fixes #282

As title says, splits are now clamped between their bounds on every frame. This makes it so weird split fractions which were created programmatically don't cause visual problems until the splits are interacted with by the user.

@anhosh anhosh changed the base branch from main to release-0.18 October 22, 2025 22:43
@anhosh anhosh merged commit 8fd9be6 into release-0.18 Oct 22, 2025
4 checks passed
@anhosh anhosh deleted the fix-split-updates branch October 22, 2025 22:55
@anhosh anhosh mentioned this pull request Oct 31, 2025
anhosh added a commit that referenced this pull request Oct 31, 2025
* Update to egui 0.33 (#293)

* Make it so separators are always clamped between their bounds (#289)

* Make it so separators are always clamped between their bounds

* Update changelog

* Update documentation on `Tree::split_*` methods

* Update changelog and readme

---------

Co-authored-by: Avarel <antranprm@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

splitting with fraction=1.0 has unexpected result

1 participant