Skip to content

Commit

Permalink
Mark geoshapes as interactive if there are selections present in
Browse files Browse the repository at this point in the history
other models as geoshapes are likely to be background layer.
  • Loading branch information
arvind committed Apr 28, 2022
1 parent 8b39fba commit 71fca5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile/mark/mark.ts
Expand Up @@ -376,7 +376,7 @@ function interactiveFlag(model: UnitModel) {
}
return parentCount
? {
interactive: unitCount > 0 || !!model.encoding.tooltip
interactive: unitCount > 0 || model.mark === 'geoshape' || !!model.encoding.tooltip
}
: null;
}

0 comments on commit 71fca5b

Please sign in to comment.