From f325e1673fa843d06e47ef1ce558ea6606b3c92b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 22 Aug 2024 10:50:56 +0200 Subject: Space ordering. --- tools/layout.json | 24 ++++++++++++------------ tools/layout.svg | 16 ++++++++-------- tools/process-layout.js | 2 ++ 3 files changed, 22 insertions(+), 20 deletions(-) (limited to 'tools') diff --git a/tools/layout.json b/tools/layout.json index 8e0bc12..e2c4c2d 100644 --- a/tools/layout.json +++ b/tools/layout.json @@ -641,19 +641,19 @@ "h": 207, "name": "French Reinforcements" }, - { - "x": 542, - "y": 332, - "w": 88, - "h": 104, - "name": "Continental Congress Dispersed" - }, { "x": 1400, "y": 46, "w": 205, "h": 136, "name": "Captured Generals" + }, + { + "x": 542, + "y": 332, + "w": 88, + "h": 104, + "name": "Continental Congress Dispersed" } ], "Card Boxes": [ @@ -1286,15 +1286,15 @@ "y": 361.5, "name": "French Reinforcements" }, - { - "x": 586, - "y": 384, - "name": "Continental Congress Dispersed" - }, { "x": 1502.5, "y": 114, "name": "Captured Generals" + }, + { + "x": 586, + "y": 384, + "name": "Continental Congress Dispersed" } ], "Card Boxes": [ diff --git a/tools/layout.svg b/tools/layout.svg index aded2e6..629e3c4 100644 --- a/tools/layout.svg +++ b/tools/layout.svg @@ -774,14 +774,6 @@ x="63" y="258" inkscape:label="French Reinforcements" /> - + { + if (a.type === "box" && b.type === "box") + return 0 let at = TYPE_SORT.indexOf(a.type) let bt = TYPE_SORT.indexOf(b.type) if (at < bt) return -1 -- cgit v1.2.3