From 0e64a4f5d6a911407edbae8fbf778b9eb5867ba8 Mon Sep 17 00:00:00 2001 From: kkayam Date: Wed, 12 Feb 2025 12:20:07 +0000 Subject: [PATCH] redraw menu instead of new menu --- apps/themes/app.js | 6 +++--- apps/themes/metadata.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/themes/app.js b/apps/themes/app.js index fb661f911..51f17c366 100644 --- a/apps/themes/app.js +++ b/apps/themes/app.js @@ -56,14 +56,14 @@ Object.keys(THEMES).forEach(themeName => { menu[themeName] = () => { setTheme(themeName); - E.showMenu(menu); + menu_ui.draw(); }; }); menu['Randomize'] = () => { setTheme(createRandomTheme()); - E.showMenu(menu); + menu_ui.draw(); }; // Show the menu - E.showMenu(menu); + let menu_ui = E.showMenu(menu); } \ No newline at end of file diff --git a/apps/themes/metadata.json b/apps/themes/metadata.json index 56ea6ef7c..59860379b 100644 --- a/apps/themes/metadata.json +++ b/apps/themes/metadata.json @@ -2,7 +2,7 @@ "id": "themes", "name": "Themes", "shortName": "Themes", - "version": "0.08", + "version": "0.09", "description": "Color palettes at your disposal", "type": "app", "tags": "tool",