From 8f004c0c75b223100b86c5858058a07510bfb40f Mon Sep 17 00:00:00 2001 From: Eva Date: Tue, 30 Jan 2024 16:47:34 +0100 Subject: [PATCH] :recycle: Change shortcut for change theme --- frontend/src/app/main/data/dashboard/shortcuts.cljs | 4 ++-- frontend/src/app/main/data/workspace/shortcuts.cljs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/main/data/dashboard/shortcuts.cljs b/frontend/src/app/main/data/dashboard/shortcuts.cljs index 3d27669b6d..0a2e8d3e96 100644 --- a/frontend/src/app/main/data/dashboard/shortcuts.cljs +++ b/frontend/src/app/main/data/dashboard/shortcuts.cljs @@ -32,8 +32,8 @@ :subsections [:general-dashboard] :fn #(st/emit! (dd/create-element))} - :toggle-theme {:tooltip (ds/meta (ds/alt "M")) - :command (ds/c-mod "alt+m") + :toggle-theme {:tooltip (ds/alt "M") + :command (ds/a-mod "m") :subsections [:general-dashboard] :fn #(st/emit! (du/toggle-theme))}}) diff --git a/frontend/src/app/main/data/workspace/shortcuts.cljs b/frontend/src/app/main/data/workspace/shortcuts.cljs index b5d91faa3a..28e2be350d 100644 --- a/frontend/src/app/main/data/workspace/shortcuts.cljs +++ b/frontend/src/app/main/data/workspace/shortcuts.cljs @@ -551,8 +551,8 @@ ;; THEME - :toggle-theme {:tooltip (ds/meta (ds/alt "M")) - :command (ds/c-mod "alt+m") + :toggle-theme {:tooltip (ds/alt "M") + :command (ds/a-mod "m") :subsections [:basics] :fn #(st/emit! (du/toggle-theme))}})