From 0afd4e4025a2c8653972f73d20db2f1561eaf339 Mon Sep 17 00:00:00 2001 From: Sithel Date: Tue, 7 May 2024 20:29:15 -0700 Subject: [PATCH 1/2] ?? somehow wasn't handling the upside down case? --- src/utils/drawing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/drawing.js b/src/utils/drawing.js index 3cd62a1..6cd5f55 100644 --- a/src/utils/drawing.js +++ b/src/utils/drawing.js @@ -221,7 +221,7 @@ export function drawSpineMark(draw_top_mark, position, w) { [endX, endY] = position.spineMarkBottom; } - if (position.rotation == 0) { + if (position.rotation == 0 || position.rotation == 180) { startX -= w / 2; endX += w / 2; } else { From 5a7620e6ebd66d9cd616ac9b17dc0e93d4b11b2e Mon Sep 17 00:00:00 2001 From: Sithel Date: Tue, 7 May 2024 20:30:08 -0700 Subject: [PATCH 2/2] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4529599..c58bac4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bookbinder", - "version": "1.6.0", + "version": "1.6.1", "description": "An app to rearrange PDF pages for printing for bookbinding", "type": "module", "scripts": {