From eaf38462d720cdce52fecbcaec62b6eefbab641a Mon Sep 17 00:00:00 2001 From: Lucas Meurer Date: Thu, 5 Dec 2024 15:35:06 +0100 Subject: [PATCH] Tests and clippy --- crates/egui_demo_lib/src/demo/screenshot.rs | 4 +--- crates/egui_demo_lib/tests/snapshots/demos/Screenshot.png | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 crates/egui_demo_lib/tests/snapshots/demos/Screenshot.png diff --git a/crates/egui_demo_lib/src/demo/screenshot.rs b/crates/egui_demo_lib/src/demo/screenshot.rs index 2b050c6cde7..ec4920491dd 100644 --- a/crates/egui_demo_lib/src/demo/screenshot.rs +++ b/crates/egui_demo_lib/src/demo/screenshot.rs @@ -1,6 +1,4 @@ -use egui::{ - Frame, Image, ImageSource, Label, RichText, Sense, UiBuilder, UserData, ViewportCommand, Widget, -}; +use egui::{Image, UserData, ViewportCommand, Widget}; use std::sync::Arc; /// Showcase [`egui::Ui::response`]. diff --git a/crates/egui_demo_lib/tests/snapshots/demos/Screenshot.png b/crates/egui_demo_lib/tests/snapshots/demos/Screenshot.png new file mode 100644 index 00000000000..f2159a85f78 --- /dev/null +++ b/crates/egui_demo_lib/tests/snapshots/demos/Screenshot.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86f72b0e6801f7d772bf6d9df42d0e74cd4295e715c823f65fe4d2fd6da3f1db +size 20977