heatmaps: part 5

This commit is contained in:
nym21
2026-05-30 13:16:22 +02:00
parent cc8fde59e8
commit c1ff095e4b
9 changed files with 73 additions and 80 deletions
+1 -9
View File
@@ -8,10 +8,7 @@ import {
} from "./panes/chart.js";
import { init as initExplorer } from "./explorer/index.js";
import { init as initSearch } from "./panes/search.js";
import {
init as initHeatmap,
setOption as setHeatmapOption,
} from "../src/heatmap/index.js";
import { setOption as setHeatmapOption } from "../src/heatmap/index.js";
import { readStored, removeStored, writeToStorage } from "./utils/storage.js";
import {
asideElement,
@@ -130,7 +127,6 @@ function initSelected() {
let previousElement = /** @type {HTMLElement | undefined} */ (undefined);
let firstTimeLoadingChart = true;
let firstTimeLoadingHeatmap = true;
let firstTimeLoadingExplorer = true;
options.selected.onChange((option) => {
@@ -155,10 +151,6 @@ function initSelected() {
element = heatmapElement;
if (firstTimeLoadingHeatmap) {
initHeatmap();
}
firstTimeLoadingHeatmap = false;
setHeatmapOption(option);
break;