Skip to content

Commit

Permalink
fix: removed menus
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Dec 12, 2022
1 parent dcbd568 commit 3634a6f
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,23 +160,20 @@ fn main() {
MenuItem::CloseWindow.into(),
]),
))
.add_submenu(Submenu::new(
"Edit",
Menu::with_items([
MenuItem::Separator.into(),
MenuItem::Copy.into(),
#[cfg(not(target_os = "macos"))]
MenuItem::Separator.into(),
]),
))
.add_submenu(Submenu::new(
"View",
Menu::with_items([MenuItem::EnterFullScreen.into()]),
))
.add_submenu(Submenu::new(
"Window",
Menu::with_items([MenuItem::Minimize.into(), MenuItem::Zoom.into()]),
))
// .add_submenu(Submenu::new(
// "Edit",
// Menu::with_items([
// MenuItem::Copy.into()
// ]),
// ))
// .add_submenu(Submenu::new(
// "View",
// Menu::with_items([MenuItem::EnterFullScreen.into()]),
// ))
// .add_submenu(Submenu::new(
// "Window",
// Menu::with_items([MenuItem::Minimize.into(), MenuItem::Zoom.into()]),
// ))
.add_submenu(Submenu::new(
"Help",
Menu::with_items([CustomMenuItem::new("learn_more", "Learn More").into()]),
Expand Down

0 comments on commit 3634a6f

Please sign in to comment.