mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
✨ 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…
x
Reference in New Issue
Block a user