mirror of
https://github.com/penpot/penpot.git
synced 2025-03-14 16:51:18 -05:00
Merge pull request #5548 from penpot/alotor-bugs-2
🐛 Fix problem selecting shapes wont expand parent
This commit is contained in:
commit
decec5d152
1 changed files with 6 additions and 8 deletions
|
@ -150,14 +150,12 @@
|
|||
params-board (-> (rt/get-params state)
|
||||
(assoc :board-id frame-ids))]
|
||||
|
||||
(rx/of
|
||||
(dwc/expand-all-parents [id] objects)
|
||||
:interrupt
|
||||
::dwsp/interrupt)
|
||||
|
||||
(if (some #(= % uuid/zero) frame-ids)
|
||||
(rx/of (rt/nav :workspace params-without-board {::rt/replace true}))
|
||||
(rx/of (rt/nav :workspace params-board {::rt/replace true}))))))))
|
||||
(rx/of (dwc/expand-all-parents [id] objects)
|
||||
:interrupt
|
||||
::dwsp/interrupt
|
||||
(if (some #(= % uuid/zero) frame-ids)
|
||||
(rt/nav :workspace params-without-board {::rt/replace true})
|
||||
(rt/nav :workspace params-board {::rt/replace true}))))))))
|
||||
|
||||
(defn select-prev-shape
|
||||
([]
|
||||
|
|
Loading…
Add table
Reference in a new issue