Skip to content

Commit b2c88e4

Browse files
committed
prettier
1 parent 82d12b0 commit b2c88e4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/layerchart/src/lib/components/Rule.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@
227227
/* Could add a layer between "components" and "base" but would require more setup (and not alignw with TW layers) */
228228
:global(
229229
:where(
230-
.lc-rule-x-line,
231-
.lc-rule-y-line,
232-
.lc-rule-x-radial-line,
233-
.lc-rule-y-radial-circle
234-
):not([class*='lc-axis'], [class*='lc-grid'])
230+
.lc-rule-x-line,
231+
.lc-rule-y-line,
232+
.lc-rule-x-radial-line,
233+
.lc-rule-y-radial-circle
234+
):not([class*='lc-axis'], [class*='lc-grid'])
235235
) {
236236
--stroke-color: color-mix(
237237
in oklab,

packages/layerchart/src/lib/utils/stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function stackOffsetSeparated(series, order) {
131131

132132
// Standard series
133133
for (var i = 1, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {
134-
((s0 = s1), (s1 = series[order[i]]));
134+
(s0 = s1), (s1 = series[order[i]]);
135135
// @ts-expect-error
136136
let base = max(s0, (d) => d[1]) + gap; // here is where you calculate the maximum of the previous layer
137137
for (var j = 0; j < m; ++j) {

0 commit comments

Comments
 (0)