🐛 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:
astudentinearth 2023-06-21 18:09:26 +03:00 committed by Alejandro Alonso
parent 97af5f71eb
commit c3c6112ade
18 changed files with 276 additions and 4 deletions

View file

@ -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