Skip to content
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

Don't persist Area state #4577

Merged
merged 1 commit into from
May 29, 2024
Merged

Don't persist Area state #4577

merged 1 commit into from
May 29, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented May 29, 2024

If you change your code for what is contained in a menu, tooltips, combobox etc, it is helpful if egui will recompute the size of that Area next frame. Now it will!

The user-chosen size of a Window is still persisted via other means.

@emilk emilk added the egui label May 29, 2024
@emilk emilk merged commit 66f40de into master May 29, 2024
36 checks passed
@emilk emilk deleted the emilk/dont-persist-area-state branch May 29, 2024 13:59
emilk added a commit that referenced this pull request Jul 1, 2024
emilk added a commit that referenced this pull request Jul 1, 2024
* Reverts #4577

We again persist area positions, but not sizes.
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
If you change your code for what is contained in a menu, tooltips,
combobox etc, it is helpful if egui will recompute the size of that Area
next frame. Now it will!

The user-chosen size of a `Window` is still persisted via other means.
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
* Reverts emilk#4577

We again persist area positions, but not sizes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant