mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 20:09:04 -05:00
initial dimensions context menu
This commit is contained in:
parent
819c50eaf8
commit
ed0d9e1cf5
1 changed files with 10 additions and 0 deletions
|
@ -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}]
|
||||||
|
|
Loading…
Add table
Reference in a new issue