From 73d2aad4db3b35ed2358fccc053a4c63cb69d73c Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Thu, 8 Sep 2022 16:24:37 +0200 Subject: [PATCH] :bug: Change shortcut for "Clear undo" --- CHANGES.md | 1 + frontend/src/app/main/data/workspace/shortcuts.cljs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 81657efec8..2b55652750 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ - Fix problem with texts for non existing fonts [Taiga #4087](https://tree.taiga.io/project/penpot/issue/4087) - Fix undo after moving layers will wrongly order the layers [Taiga #3344](https://tree.taiga.io/project/penpot/issue/3344) - Fix Grouping typographies by drag & drop does not work (again) [#2203](https://github.com/penpot/penpot/issues/2203) +- Change shortcut for "Clear undo" [#2219](https://github.com/penpot/penpot/issues/2219) ## 1.15.2-beta diff --git a/frontend/src/app/main/data/workspace/shortcuts.cljs b/frontend/src/app/main/data/workspace/shortcuts.cljs index 25c82a8db4..e1adb145c4 100644 --- a/frontend/src/app/main/data/workspace/shortcuts.cljs +++ b/frontend/src/app/main/data/workspace/shortcuts.cljs @@ -45,8 +45,8 @@ :subsections [:edit] :fn #(st/emit! dwc/redo)} - :clear-undo {:tooltip (ds/meta "Q") - :command (ds/c-mod "q") + :clear-undo {:tooltip (ds/alt "Z") + :command "alt+z" :subsections [:edit] :fn #(st/emit! dwu/reinitialize-undo)}