mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 13:49:06 +00:00
💄 Add minor cosmetic improvements on viewport hooks ns
This commit is contained in:
parent
a754d5ae3b
commit
a9d2cc227b
@ -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…
x
Reference in New Issue
Block a user