diff --git a/crates/egui_demo_lib/src/demo/widget_gallery.rs b/crates/egui_demo_lib/src/demo/widget_gallery.rs index 85b9e3a4fa60..b21425f0ce63 100644 --- a/crates/egui_demo_lib/src/demo/widget_gallery.rs +++ b/crates/egui_demo_lib/src/demo/widget_gallery.rs @@ -61,6 +61,8 @@ impl crate::Demo for WidgetGallery { impl crate::View for WidgetGallery { fn ui(&mut self, ui: &mut egui::Ui) { + ui.visuals_mut().widgets.inactive.rounding = 0.0.into(); + let mut ui_builder = egui::UiBuilder::new(); if !self.enabled { ui_builder = ui_builder.disabled();