mirror of
https://github.com/penpot/penpot.git
synced 2026-03-12 21:36:39 +00:00
✨ Do not show radius option for shapes that do not have it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user