Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/marks/tip.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ function getSourceChannels(channels, scales) {
if ((key === "x" || key === "y") && channels.geometry) continue; // ignore x & y on geo
const source = getSource(channels, key);
if (source) {
// Ignore color channels if the values are all literal colors.
if (source.scale == null && source.defaultScale === "color") continue;
// Ignore color/symbol channels if the values are all literal colors/symbols.
if (source.scale == null && ["color", "symbol"].includes(source.defaultScale)) continue;
sources[key] = source;
}
}
Expand Down
Loading