Skip to content

Commit

Permalink
remove toast test menu
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalsom committed Jan 27, 2024
1 parent f53852a commit 7fe836c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/frontend/marty_egui/src/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ impl GuiState {
ui.close_menu();
}

ui.menu_button("GUI", |ui| {
if ui.button("Toast!").clicked() {
self.toasts
.info("Hello world!")
.set_duration(Some(Duration::from_secs(5)));
}
});

if ui.button("❓ About...").clicked() {
*self.window_flag(GuiWindow::About) = true;
ui.close_menu();
Expand Down

0 comments on commit 7fe836c

Please sign in to comment.