mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 20:51:40 +02:00
🐛 Change independent corner radius input tooltips
Make the inputs show a tooltip for the relevant corner(e.g. "Top left") instead of "Radius" Signed-off-by: Burak Yeniçeri <burak.yn.dev@gmail.com>
This commit is contained in:
parent
97af5f71eb
commit
c3c6112ade
18 changed files with 276 additions and 4 deletions
|
@ -412,7 +412,7 @@
|
|||
|
||||
(= radius-mode :radius-4)
|
||||
[:*
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius")}
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius-top-left")}
|
||||
[:> numeric-input
|
||||
{:placeholder "--"
|
||||
:min 0
|
||||
|
@ -420,7 +420,7 @@
|
|||
:on-change on-radius-r1-change
|
||||
:value (:r1 values)}]]
|
||||
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius")}
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius-top-right")}
|
||||
[:> numeric-input
|
||||
{:placeholder "--"
|
||||
:min 0
|
||||
|
@ -428,7 +428,7 @@
|
|||
:on-change on-radius-r2-change
|
||||
:value (:r2 values)}]]
|
||||
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius")}
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius-bottom-right")}
|
||||
[:> numeric-input
|
||||
{:placeholder "--"
|
||||
:min 0
|
||||
|
@ -436,7 +436,7 @@
|
|||
:on-change on-radius-r3-change
|
||||
:value (:r3 values)}]]
|
||||
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius")}
|
||||
[:div.input-element.mini {:title (tr "workspace.options.radius-bottom-left")}
|
||||
[:> numeric-input
|
||||
{:placeholder "--"
|
||||
:min 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue