From ff96f7be8552d97acc4fc31d3fb1447e5d1024be Mon Sep 17 00:00:00 2001 From: Aitor Moreno Date: Wed, 3 Sep 2025 17:49:28 +0200 Subject: [PATCH] :bug: Fix moving elements up or down while pressing alt --- 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 b63144e782..c6380b2fe4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -43,6 +43,7 @@ - Layout item tokens should be unapplied when moving out of a layout [Taiga #11012](https://tree.taiga.io/project/penpot/issue/11012) - Fix incorrect date displayed for support plan [Taiga #11986](https://tree.taiga.io/project/penpot/issue/11986) - Fix can't import 'borderWidth' type token [#132](https://github.com/tokens-studio/penpot/issues/132) +- Fix moving elements up or down while pressing alt [Taiga Issue #11992](https://tree.taiga.io/project/penpot/issue/11992) ## 2.9.0 diff --git a/frontend/src/app/main/data/workspace/shortcuts.cljs b/frontend/src/app/main/data/workspace/shortcuts.cljs index de041ba2ee..c1741df475 100644 --- a/frontend/src/app/main/data/workspace/shortcuts.cljs +++ b/frontend/src/app/main/data/workspace/shortcuts.cljs @@ -233,12 +233,12 @@ :fn #(emit-when-no-readonly (dwt/move-selected :left true))} :move-unit-up {:tooltip ds/up-arrow - :command ["up"] + :command ["up" "alt+up"] :subsections [:modify-layers] :fn #(emit-when-no-readonly (dwt/move-selected :up false))} :move-unit-down {:tooltip ds/down-arrow - :command ["down"] + :command ["down" "alt+down"] :subsections [:modify-layers] :fn #(emit-when-no-readonly (dwt/move-selected :down false))}