0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 23:08:24 -05:00
This commit is contained in:
Florian Schroedl 2024-05-15 17:26:10 +02:00
parent 3e7a422136
commit 8f852bf48f

View file

@ -14,7 +14,7 @@
[app.main.ui.icons :as i]
[app.main.ui.workspace.sidebar.assets.common :as cmm]
[app.main.ui.workspace.tokens.common :refer [workspace-shapes]]
[app.main.ui.workspace.tokens.core :refer [tokens-applied?] :as wtc]
[app.main.ui.workspace.tokens.core :as wtc]
[app.util.dom :as dom]
[rumext.v2 :as mf]))
@ -106,7 +106,7 @@
[:& token-pill
{:key (:id token)
:token token
:highlighted? (tokens-applied? token selected-shapes attributes)
:highlighted? (wtc/tokens-applied? token selected-shapes attributes)
:on-click #(on-token-pill-click % token)
:on-context-menu #(on-context-menu % token)}])]])]]))