- commit
- 2b675e14467dc178585b83576b128f824f6419ef
- parent
- 149a4465e887aaca9625a3cdbb9bcc9ba4b180f3
- author
- dami <gazey55@gmail.com>
| M | site/ | 5 | ++++- |
@@ -567,7 +567,10 @@ function drawFocus(
567567 if (!owners.length) return;568568 // prefer the revealed tile being worked, then the most recently solved569569 owners.sort((a, b) => RANK[s.tiles[b]] - RANK[s.tiles[a]]);570- const tid = owners.find((t) => s.tiles[t] === "revealed") ?? owners[0];570+ const tid = owners.find((t) => s.tiles[t] === "revealed") ??571+ owners.find((t) => s.tiles[t] === "solved");572+ // nothing to say about a tile nobody has revealed: no lines, no id573+ if (tid === undefined) return;571574 const t = s.manifest!.tiles[tid];572575 const mask = scene.masks[tid];573576 const h = f.tileHue[tid];