From 5772f6b042e4f094e7ba78db9a96de96afa1ad30 Mon Sep 17 00:00:00 2001 From: Lucas Meurer Date: Sun, 29 Sep 2024 01:20:42 +0200 Subject: [PATCH] Test if snapshots fail in ci --- crates/egui_demo_lib/src/demo/widget_gallery.rs | 2 ++ 1 file changed, 2 insertions(+) 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();