mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
initial dimensions context menu
This commit is contained in:
@@ -125,6 +125,16 @@
|
|||||||
{:title "Min height" :attributes #{:layout-item-min-h}}
|
{:title "Min height" :attributes #{:layout-item-min-h}}
|
||||||
{:title "Max height" :attributes #{:layout-item-max-h}}])
|
{:title "Max height" :attributes #{:layout-item-max-h}}])
|
||||||
|
|
||||||
|
:dimensions (attributes->actions
|
||||||
|
apply-sizing-token
|
||||||
|
[{:title "Spacing" :attributes #{:width :height}}
|
||||||
|
{:title "Sizing" :attributes #{:width}}
|
||||||
|
{:title "Border Radius" :attributes #{:height}}
|
||||||
|
{:title "Border Width" :attributes #{:width}}
|
||||||
|
{:title "x" :attributes #{:width}}
|
||||||
|
{:title "y" :attributes #{:width}}
|
||||||
|
{:title "Background blur" :attributes #{:width}}])
|
||||||
|
|
||||||
[])))
|
[])))
|
||||||
|
|
||||||
(defn generate-menu-entries [{:keys [token-id token-type-props token-type selected-shapes] :as context-data}]
|
(defn generate-menu-entries [{:keys [token-id token-type-props token-type selected-shapes] :as context-data}]
|
||||||
|
|||||||
Reference in New Issue
Block a user