🐛 Fixes issues with frame selection

This commit is contained in:
alonso.torres 2021-02-24 13:17:16 +01:00 committed by Andrey Antukh
parent d517daa045
commit 8f4e13072c
4 changed files with 4 additions and 2 deletions

View file

@ -1003,7 +1003,7 @@
result
(let [group (get objects current-id)]
(if (and (not= uuid/zero current-id)
(if (and (not= :frame (:type group))
(not= current-id parent-id)
(empty? (remove removed-id? (:shapes group))))

View file

@ -373,7 +373,6 @@
(rx/of (set-modifiers selected)
(apply-modifiers selected)
(calculate-frame-for-move selected)
(fn [state] (-> state
(update :workspace-local dissoc :modifiers)
(update :workspace-local dissoc :current-move-selected)))