From b8eb181fd9019499b63c2e1f39f809acebf5ce4f Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Sun, 24 Dec 2023 03:20:39 +0000 Subject: [PATCH] Add back tab stop positions --- demo/75-tab-stops.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/75-tab-stops.ts b/demo/75-tab-stops.ts index b379fc01a6e..63600c5f0fb 100644 --- a/demo/75-tab-stops.ts +++ b/demo/75-tab-stops.ts @@ -11,9 +11,9 @@ const receiptTabStops = [ // (end position of 1st) + (end position of current) // columnWidth + columnWidth = columnWidth * 2 - { type: TabStopType.RIGHT, position: 0 }, - { type: TabStopType.RIGHT, position: 0 }, - { type: TabStopType.RIGHT, position: 0 }, + { type: TabStopType.RIGHT, position: columnWidth * 2 }, + { type: TabStopType.RIGHT, position: columnWidth * 3 }, + { type: TabStopType.RIGHT, position: TabStopPosition.MAX }, ]; const twoTabStops = [{ type: TabStopType.RIGHT, position: TabStopPosition.MAX }];