mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 13:26:43 +02:00
🐛 Fix color asset tooltip
This commit is contained in:
parent
1c65df69f3
commit
d14565437c
1 changed files with 3 additions and 1 deletions
|
@ -219,7 +219,9 @@
|
||||||
:auto-focus true
|
:auto-focus true
|
||||||
:default-value (cfh/merge-path-item (:path color) (:name color))}]
|
:default-value (cfh/merge-path-item (:path color) (:name color))}]
|
||||||
|
|
||||||
[:div {:title (:name color)
|
[:div {:title (if (= (:name color) default-name)
|
||||||
|
default-name
|
||||||
|
(dm/str (:name color) " (" default-name ")"))
|
||||||
:class (stl/css :name-block)
|
:class (stl/css :name-block)
|
||||||
:on-double-click rename-color-clicked}
|
:on-double-click rename-color-clicked}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue