mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 16:11:38 +02:00
🐛 Fix group automatically selected after creation
This commit is contained in:
parent
38fa5be862
commit
c5bf2a775e
6 changed files with 246 additions and 2 deletions
|
@ -203,7 +203,7 @@
|
|||
ptk/WatchEvent
|
||||
(watch [_ state _]
|
||||
(let [selected (wsh/lookup-selected state)]
|
||||
(rx/of (group-shapes nil selected))))))
|
||||
(rx/of (group-shapes nil selected :change-selection? true))))))
|
||||
|
||||
(defn ungroup-shapes
|
||||
[ids & {:keys [change-selection?] :or {change-selection? false}}]
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
:ref dref
|
||||
:on-click on-select-shape
|
||||
:on-context-menu on-context-menu
|
||||
:data-testid "layer-row"
|
||||
:class (stl/css-case
|
||||
:layer-row true
|
||||
:highlight highlighted?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue