From 7c85e02b4a67966a985683f53254d7d835697cb0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 7 Apr 2021 19:53:10 +0100 Subject: [PATCH] drag: Provide movehist_end in template We're going to want to put things between this and static_defs. Signed-off-by: Ian Jackson --- templates/macros.tera | 1 + templates/script.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/macros.tera b/templates/macros.tera index 439ff23f..636f5ce4 100644 --- a/templates/macros.tera +++ b/templates/macros.tera @@ -87,6 +87,7 @@ Hi {{nick | escape}} {{ piece.1 }} {%- endfor %} + diff --git a/templates/script.ts b/templates/script.ts index 990d809d..f5d07570 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -1846,7 +1846,7 @@ function startup() { pieces_marker = svg_element("pieces_marker")!; defs_marker = svg_element("defs_marker")!; movehist_start = svg_element('movehist_marker')!; - movehist_end = svg_element('static_defs')!; + movehist_end = svg_element('movehist_end')!; svg_ns = space.getAttribute('xmlns')!; for (let uelem = pieces_marker.nextElementSibling! as SVGGraphicsElement; -- 2.30.2