0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

Do not show radius option for shapes that do not have it

This commit is contained in:
Andrés Moya 2020-07-20 14:24:52 +02:00
parent e4afda08d7
commit 06712bf1a5

View file

@ -183,7 +183,7 @@
:value (attr->string :rotation values)}]])
;; RADIUS
(when (options :radius)
(when (and (options :radius) (not (nil? (:rx values))))
[:div.row-flex
[:span.element-set-subtitle (t locale "workspace.options.radius")]
[:div.input-element.pixels