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

Clamp margin values in Margin::ui #4873

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Clamp margin values in Margin::ui #4873

merged 1 commit into from
Jul 30, 2024

Conversation

rustbasic
Copy link
Contributor

limit margin value in settings.ui().

Issues: If the window margin of settings.ui() becomes -10.0 or less, a panic occurs.

@emilk emilk changed the title limit margin value in settings.ui(). Limit margin value in settings.ui() Jul 30, 2024
@emilk emilk added the egui label Jul 30, 2024
@emilk emilk changed the title Limit margin value in settings.ui() Clamp margin values in Margin::ui Jul 30, 2024
@emilk emilk merged commit 378df03 into emilk:master Jul 30, 2024
19 of 20 checks passed
trevyn pushed a commit to trevyn/egui that referenced this pull request Aug 5, 2024
limit margin value in `settings.ui()`.

Issues: If the `window margin` of `settings.ui()` becomes -10.0 or less,
a panic occurs.
486c pushed a commit to 486c/egui that referenced this pull request Oct 9, 2024
limit margin value in `settings.ui()`.

Issues: If the `window margin` of `settings.ui()` becomes -10.0 or less,
a panic occurs.
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
limit margin value in `settings.ui()`.

Issues: If the `window margin` of `settings.ui()` becomes -10.0 or less,
a panic occurs.
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.

2 participants