From 3d8f757712b5586cc1db1e0535711afca1566717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Wed, 16 Feb 2022 16:04:18 +0100 Subject: [PATCH] :bug: Fixed cannot align objects inside a group but not inside a frame --- CHANGES.md | 1 + frontend/src/app/main/data/workspace.cljs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index a4096d32cb..6b169a44f7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -35,6 +35,7 @@ - Fixed missing translate string [Taiga #2780](https://tree.taiga.io/project/penpot/issue/2780) - Fixed handoff shadow type text [Taiga #2717](https://tree.taiga.io/project/penpot/issue/2717) - Fixed components get "dirty" marker when moved [Taiga #2764](https://tree.taiga.io/project/penpot/issue/2764) +- Fixed cannot align objects in a group that is not part of a frame [Taiga #2762](https://tree.taiga.io/project/penpot/issue/2762) ### :arrow_up: Deps updates diff --git a/frontend/src/app/main/data/workspace.cljs b/frontend/src/app/main/data/workspace.cljs index ce81ba363a..ad4339d286 100644 --- a/frontend/src/app/main/data/workspace.cljs +++ b/frontend/src/app/main/data/workspace.cljs @@ -1184,7 +1184,7 @@ (empty? selected) false (> (count selected) 1) true :else - (not= uuid/zero (:frame-id (get objects (first selected)))))) + (not= uuid/zero (:parent-id (get objects (first selected)))))) (defn align-objects [axis]