From be56875ee5523f520a81f3b7951e100714d15725 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Wed, 24 Jan 2024 09:18:59 +0000 Subject: [PATCH] style: auto-formatting [CI] --- src/compile/scale/range.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/compile/scale/range.ts b/src/compile/scale/range.ts index 4f87f21614..b8fcea4235 100644 --- a/src/compile/scale/range.ts +++ b/src/compile/scale/range.ts @@ -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)]; } }