0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐛 Fix color asset tooltip

This commit is contained in:
Eva Marco 2024-03-20 11:36:31 +01:00 committed by Andrey Antukh
parent 1c65df69f3
commit d14565437c

View file

@ -219,7 +219,9 @@
:auto-focus true
: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)
:on-double-click rename-color-clicked}