Skip to content

Commit

Permalink
test: try restoring mark disabler
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrosquall committed Jan 25, 2025
1 parent c3b3b99 commit 0cf8c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export function stack(m: Mark | MarkDef, encoding: Encoding<string>): StackPrope
} else {
offset = stackedFieldDef.stack;
}
} else if (STACK_BY_DEFAULT_MARKS.has(mark)) {
} else if (stackBy.length > 0 && STACK_BY_DEFAULT_MARKS.has(mark)) {
offset = 'zero';
}

Expand Down

0 comments on commit 0cf8c9f

Please sign in to comment.