heatmaps: part 8

This commit is contained in:
nym21
2026-05-31 18:57:23 +02:00
parent 5df399d2f7
commit 7860c5a8bd
6 changed files with 32 additions and 21 deletions
+2 -3
View File
@@ -1,4 +1,4 @@
import { createLabeledInput, createSpanName } from "../dom.js";
import { createLabeledInput, createSpan, createSpanName } from "../dom.js";
import { stringToId } from "../format.js";
/** @param {HTMLElement} el */
@@ -27,8 +27,7 @@ export function createLegend() {
element.append(scroller);
captureScroll(scroller);
const separator = window.document.createElement("span");
separator.textContent = "|";
const separator = createSpan("|");
captureScroll(separator);
return {