fix(deps): update egui packages to 0.31 - autoclosed #2502
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.30
->0.31
0.30
->0.31
Release Notes
emilk/egui (eframe)
v0.31.0
Compare Source
WindowSettings
#5554 by @landaireemilk/egui (egui_extras)
v0.31.0
Compare Source
Highlights ✨
Scene container
This release adds the
Scene
container to egui. It is a pannable, zoomable canvas that can containWidget
s and childUi
s.This will make it easier to e.g. implement a graph editor.
Clearer, pixel perfect rendering
The tessellator has been updated for improved rendering quality and better performance. It will produce fewer vertices
and shapes will have less overdraw. We've also defined what
CornerRadius
(previouslyRounding
) means.We've also added a tessellator test to the demo app, where you can play around with different
values to see what's produced:
tessellator-test.mp4
Check the PR for more details.
CornerRadius
,Margin
,Shadow
size reductionIn order to pave the path for more complex and customizable styling solutions, we've reduced the size of
CornerRadius
,Margin
andShadow
values toi8
andu8
.Migration guide
StrokeKind
to all yourPainter::rect
calls #5648StrokeKind::default
was removed, since the 'normal' value depends on the context #5658StrokeKind::Inside
when drawing rectanglesStrokeKind::Middle
when drawing open pathsRounding
toCornerRadius
#5673CornerRadius
,Margin
andShadow
have been updated to usei8
andu8
#5563, #5567, #5568as i8
/as u8
oras _
if you want Rust to infer the typef32
value is bigger than127
it will be clamped to127
RectShape
parameters changed #5565Frame
now takes theStroke
width into account for its sizing, so check all views of your app to make sure they still look right.Read the PR for more info.
⭐ Added
egui::Scene
for panning/zooming aUi
#5505 by @grtlrOutputCommand
for copying text and opening URL:s #5532 by @emilkContext::copy_image
#5533 by @emilkWidgetType::Image
andImage::alt_text
#5534 by @lucasmerlinepaint::Brush
for controllingRectShape
texturing #5565 by @emilknohash_hasher::IsEnabled
forId
#5628 by @emilk!
,{
,}
#5548 by @Its-Just-NansRectShape::stroke_kind
to control if stroke is inside/outside/centered #5647 by @emilk🔧 Changed
Frame
now includes stroke width as part of padding #5575 by @emilkRounding
toCornerRadius
#5673 by @emilkStrokeKind
when painting rectangles with strokes #5648 by @emilk🔥 Removed
egui::special_emojis::TWITTER
#5622 by @emilkStrokeKind::default
#5658 by @emilk🐛 Fixed
profiling
crate #5494 by @lucasmerlinArea::compare_order()
#5569 by @HactarCE🚀 Performance
u8
inCornerRadius
, and introduceCornerRadiusF32
#5563 by @emilkMargin
usingi8
to reduce its size #5567 by @emilkShadow
by usingi8/u8
instead off32
#5568 by @emilkResponse
andSense
#5556 by @polwelConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.