mirror of https://github.com/penpot/penpot.git
✨ Do not show radius option for shapes that do not have it
This commit is contained in:
parent
e4afda08d7
commit
06712bf1a5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue