🐛 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 cccea3dc71
commit 1c79e726af

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)}