From 44a506f1b2deb7e1d9ee04fda1527c5edcf4e940 Mon Sep 17 00:00:00 2001 From: Anton Yemelyanov Date: Tue, 18 Jul 2023 00:10:12 +0300 Subject: [PATCH] isolate built-in menus on macos --- kos/src/core/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kos/src/core/core.rs b/kos/src/core/core.rs index d859b75a6..fc5a9b8c7 100644 --- a/kos/src/core/core.rs +++ b/kos/src/core/core.rs @@ -161,7 +161,7 @@ impl Core { .submenus(vec![clipboard_copy, clipboard_paste, menu_separator(), increase_font, decrease_font]) .build()?; - MenubarBuilder::new("Kaspa OS").mac_hide_edit(true).mac_hide_window(true).append(item).build(true)?; + MenubarBuilder::new("Kaspa OS", is_macos()).mac_hide_edit(true).mac_hide_window(true).append(item).build(true)?; Ok(()) }