From 1c33dafe9a7425c545bcdd4a6f4ff645bd857d06 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Tue, 5 Nov 2024 22:03:22 +0100 Subject: [PATCH] web: Disable unsupported menu buttons --- ui/menu_dialog.slint | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/menu_dialog.slint b/ui/menu_dialog.slint index 8a588d2..1e329a3 100644 --- a/ui/menu_dialog.slint +++ b/ui/menu_dialog.slint @@ -68,6 +68,7 @@ export component MenuDialog inherits OverlayDialog { root.closed(); } } + if !desktop_web: Button { text: "Open File"; clicked => { @@ -88,6 +89,7 @@ export component MenuDialog inherits OverlayDialog { } } } + if !desktop_web: Button { text: "Save"; clicked => { @@ -95,6 +97,7 @@ export component MenuDialog inherits OverlayDialog { root.closed(); } } + if !desktop_web: Button { text: "Save as"; clicked => { @@ -102,6 +105,7 @@ export component MenuDialog inherits OverlayDialog { root.closed(); } } + if !desktop_web: Button { text: "Export as GBA .sav"; clicked => {