mirror of
https://github.com/penpot/penpot.git
synced 2026-09-12 15:09:38 +00:00
🐛 Fix color picker names are not displayed correctly on their tooltips
This commit is contained in:
parent
8bf1b9c28e
commit
acc1fac8de
@ -54,9 +54,10 @@
|
|||||||
(let [props (.-props tab)
|
(let [props (.-props tab)
|
||||||
id (.-id props)
|
id (.-id props)
|
||||||
title (.-title props)
|
title (.-title props)
|
||||||
sid (d/name id)]
|
sid (d/name id)
|
||||||
|
tooltip (if (string? title) title nil)]
|
||||||
[:div {:key (str/concat "tab-" sid)
|
[:div {:key (str/concat "tab-" sid)
|
||||||
:title title
|
:title tooltip
|
||||||
:data-id sid
|
:data-id sid
|
||||||
:on-click on-click
|
:on-click on-click
|
||||||
:class (stl/css-case
|
:class (stl/css-case
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user