mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 14:09:17 +00:00
🐛 Fix spacing menu not available in dimensions token
This commit is contained in:
parent
76b7287bf1
commit
f6b97af148
@ -467,7 +467,7 @@
|
|||||||
|
|
||||||
is-selected-inside-layout
|
is-selected-inside-layout
|
||||||
(mf/with-memo [token-type selected-shapes objects]
|
(mf/with-memo [token-type selected-shapes objects]
|
||||||
(when (= :spacing token-type)
|
(when (contains? #{:spacing :dimensions} token-type)
|
||||||
(some #(ctsl/any-layout-immediate-child? objects %) selected-shapes)))]
|
(some #(ctsl/any-layout-immediate-child? objects %) selected-shapes)))]
|
||||||
|
|
||||||
[:ul {:class (stl/css :context-list)}
|
[:ul {:class (stl/css :context-list)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user