Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Nov 28, 2024
1 parent 238b499 commit 057d06f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/egui_demo_lib/src/demo/modals.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use egui::{Align, ComboBox, Context, Id, Layout, Modal, ProgressBar, Ui, Widget, Window};
use egui::{ComboBox, Context, Id, Modal, ProgressBar, Ui, Widget, Window};

#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
#[cfg_attr(feature = "serde", serde(default))]
Expand Down Expand Up @@ -90,7 +90,7 @@ impl crate::View for Modals {

egui::Sides::new().show(
ui,
|ui| {},
|_ui| {},
|ui| {
if ui.button("Save").clicked() {
*save_modal_open = true;
Expand All @@ -116,7 +116,7 @@ impl crate::View for Modals {

egui::Sides::new().show(
ui,
|ui| {},
|_ui| {},
|ui| {
if ui.button("Yes Please").clicked() {
*save_progress = Some(0.0);
Expand Down

0 comments on commit 057d06f

Please sign in to comment.