mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
⚠️ Rename Rounding to CornerRadius (#5673)
Breaking change! * `Rounding` -> `CornerRadius` * `rounding` -> `corner_radius` This is to: * Clarify * Conform to other systems (e.g. Figma) * Avoid confusion with `GuiRounding`
This commit is contained in:
@@ -478,7 +478,13 @@ fn drop_target<R>(
|
||||
|
||||
ui.painter().set(
|
||||
background_id,
|
||||
egui::epaint::RectShape::new(rect, style.rounding, fill, stroke, egui::StrokeKind::Inside),
|
||||
egui::epaint::RectShape::new(
|
||||
rect,
|
||||
style.corner_radius,
|
||||
fill,
|
||||
stroke,
|
||||
egui::StrokeKind::Inside,
|
||||
),
|
||||
);
|
||||
|
||||
egui::InnerResponse::new(ret, response)
|
||||
|
||||
Reference in New Issue
Block a user