Skip to content

Commit

Permalink
style: auto-formatting [CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Aug 28, 2024
1 parent c0542c7 commit 3c46ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile/mark/encode/position-rect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function rectBinPosition({
const axis = (model.component.axes as any)[channel]?.[0];
const axisTranslate = axis?.get('translate') ?? 0.5; // vega default is 0.5

const spacing = isXorY(channel) ? getMarkPropOrConfig('binSpacing', markDef, config) ?? 0 : 0;
const spacing = isXorY(channel) ? (getMarkPropOrConfig('binSpacing', markDef, config) ?? 0) : 0;

const channel2 = getSecondaryRangeChannel(channel);
const vgChannel = getVgPositionChannel(channel);
Expand Down

0 comments on commit 3c46ff2

Please sign in to comment.