chiark / gitweb /
script.ts: Fix a uk spelling of "mitre"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Apr 2022 22:46:15 +0000 (23:46 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Apr 2022 23:07:46 +0000 (00:07 +0100)
CSS wants "miter".  This was producing a message on the JS console.

I have a feeling some of the code here existed to work around not
being able to get mitre to work properly.  but I CBA to look into that
now.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts

index 8fb6296a2144612dd92c77a8860a68a5b82b970b..c24ef0951bfb542a568f3da23981c00605588f28 100644 (file)
@@ -1568,7 +1568,7 @@ function movehist_record(ent: MoveHistEnt) {
        refX="${sz}" refY="${sz/2}"
        markerWidth="${sz + 2}" markerHeight="${sz}"
        stroke="yellow" fill="none"
-       orient="auto-start-reverse" stroke-linejoin="mitre">
+       orient="auto-start-reverse" stroke-linejoin="miter">
        <path d="M 0 0 L ${sz} ${sz/2} L 0 ${sz}" />
       </marker>
       <line x1="${ends[0][0].toString()}"