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

Auto-repaint when widgets move or changes id #3930

Merged
merged 5 commits into from
Feb 1, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Feb 1, 2024

With this PR, if a widget moves or repaints, egui will automatically repaint.

Usually this is what you want: if something is moving we should repaint until it stops moving.

However, this could potentially create false positives in some rare circumstances, so there is an option to turn it off with Options::repaint_on_widget_change.

@emilk emilk added the egui label Feb 1, 2024
@emilk emilk merged commit 3a1244f into master Feb 1, 2024
35 checks passed
@emilk emilk deleted the emilk/refactor-widget-rects branch February 1, 2024 10:33
@emilk emilk changed the title Auto-repaint when widgets move or changes id. Auto-repaint when widgets move or changes id Feb 1, 2024
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
With this PR, if a widget moves or repaints, egui will automatically
repaint.

Usually this is what you want: if something is moving we should repaint
until it stops moving.

However, this could potentially create false positives in some rare
circumstances, so there is an option to turn it off with
`Options::repaint_on_widget_change`.
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