Skip to content

Commit

Permalink
Update position-rect.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Aug 9, 2022
1 parent 7c3d1c0 commit 894946b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compile/mark/encode/position-rect.ts
Expand Up @@ -81,6 +81,7 @@ function defaultSizeRef(
if (bandSize.band !== 1) {
bandWidth = `${bandSize.band} * ${bandWidth}`;
}
// TODO(#8351): make 0.25 here configurable
return {signal: `max(0.25, ${bandWidth})`};
} else if (bandSize.band !== 1) {
log.warn(log.message.cannotUseRelativeBandSizeWithNonBandScale(scaleType));
Expand Down

0 comments on commit 894946b

Please sign in to comment.