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 Jan 24, 2024
1 parent 895c8f4 commit be56875
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/compile/scale/range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,16 +238,16 @@ function fullWidthOrHeightRange(
// For y continuous scale, we have to start from the height as the bottom part has the max value.
return center
? [
SignalRefWrapper.fromName(name => `${getSignalName(name)}/2`, sizeSignal),
SignalRefWrapper.fromName(name => `-${getSignalName(name)}/2`, sizeSignal)
]
SignalRefWrapper.fromName(name => `${getSignalName(name)}/2`, sizeSignal),
SignalRefWrapper.fromName(name => `-${getSignalName(name)}/2`, sizeSignal)
]
: [SignalRefWrapper.fromName(getSignalName, sizeSignal), 0];
} else {
return center
? [
SignalRefWrapper.fromName(name => `-${getSignalName(name)}/2`, sizeSignal),
SignalRefWrapper.fromName(name => `${getSignalName(name)}/2`, sizeSignal)
]
SignalRefWrapper.fromName(name => `-${getSignalName(name)}/2`, sizeSignal),
SignalRefWrapper.fromName(name => `${getSignalName(name)}/2`, sizeSignal)
]
: [0, SignalRefWrapper.fromName(getSignalName, sizeSignal)];
}
}
Expand Down

0 comments on commit be56875

Please sign in to comment.