aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-23 07:02:16 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-23 07:05:21 +1000
commit19984e11e3bfd793188fd84c621a304330f4a303 (patch)
treec6ce61fa0eb782d3025d94733cd0c3fd1e10e6a2 /src/tol.ts
parent6edf3fe12a7c895eb55292281eac497377128fd2 (diff)
Display 'compound images'
Adjust genLinkedImgs.py to associate multiple images to compound-nodes. Adjust server to send multiple image filenames for such nodes. Adjust Tile and TileInfoModal to display those compound-images.
Diffstat (limited to 'src/tol.ts')
-rw-r--r--src/tol.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tol.ts b/src/tol.ts
index 41ace2c..15f1a94 100644
--- a/src/tol.ts
+++ b/src/tol.ts
@@ -10,8 +10,8 @@ export class TolNode {
parent: string | null;
tips: number;
pSupport: boolean;
- imgName: null | string;
commonName: null | string;
+ imgName: null | string | [string, string];
constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){
this.children = children;
this.parent = parent;