From 894946b352bcea7203b1c8c42150ec6974ae930e Mon Sep 17 00:00:00 2001 From: Kanit Wongsuphasawat Date: Mon, 8 Aug 2022 18:55:09 -0700 Subject: [PATCH] Update position-rect.ts --- src/compile/mark/encode/position-rect.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compile/mark/encode/position-rect.ts b/src/compile/mark/encode/position-rect.ts index 48fdfc2b407..a4d81787ab9 100644 --- a/src/compile/mark/encode/position-rect.ts +++ b/src/compile/mark/encode/position-rect.ts @@ -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));