mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 12:01:19 -05:00
💄 Add minor cosmetic improvements on viewport hooks ns
This commit is contained in:
parent
a754d5ae3b
commit
a9d2cc227b
1 changed files with 5 additions and 6 deletions
|
@ -201,13 +201,12 @@
|
|||
(mf/deps page-id objects show-measures?)
|
||||
(fn [ids]
|
||||
(let [selected (mf/ref-val selected-ref)
|
||||
focus (mf/ref-val focus-ref)
|
||||
mod? (mf/ref-val mod-ref)
|
||||
focus (mf/ref-val focus-ref)
|
||||
mod? (mf/ref-val mod-ref)
|
||||
|
||||
ids (into
|
||||
(d/ordered-set)
|
||||
(remove #(dm/get-in objects [% :blocked]))
|
||||
(ctt/sort-z-index objects ids {:bottom-frames? mod?}))
|
||||
ids (into (d/ordered-set)
|
||||
(remove #(dm/get-in objects [% :blocked]))
|
||||
(ctt/sort-z-index objects ids {:bottom-frames? mod?}))
|
||||
|
||||
grouped? (fn [id]
|
||||
(and (cph/group-shape? objects id)
|
||||
|
|
Loading…
Add table
Reference in a new issue