Remove date button from Scene demo, so as not to fail tests each day (#5657)

This commit is contained in:
Emil Ernerfeldt
2025-01-30 20:51:12 +01:00
committed by GitHub
parent ee5f0d6d52
commit 04fca9c324
3 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ pub struct SceneDemo {
impl Default for SceneDemo {
fn default() -> Self {
Self {
widget_gallery: Default::default(),
widget_gallery: widget_gallery::WidgetGallery::default().with_date_button(false), // disable date button so that we don't fail the snapshot test
scene_rect: Rect::ZERO, // `egui::Scene` will initialize this to something valid
}
}