🐛 Fix spacing menu not available in dimensions token

This commit is contained in:
Florian Schroedl 2025-07-24 15:09:09 +02:00 committed by Andrés Moya
parent 76b7287bf1
commit f6b97af148
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@
is-selected-inside-layout
(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)))]
[:ul {:class (stl/css :context-list)}