global: snapshot

This commit is contained in:
nym21
2026-01-17 02:34:08 +01:00
parent 6bb1a2a311
commit 7b3e172948
25 changed files with 1070 additions and 1173 deletions

View File

@@ -8,7 +8,6 @@ import {
} from "../modules/lightweight-charts/5.1.0/dist/lightweight-charts.standalone.production.mjs";
const createChart = /** @type {CreateChart} */ (_createChart);
import {
createChoiceField,
createLabeledInput,
@@ -502,7 +501,8 @@ export function createChartElement({
if (!hasData()) {
setData(data);
hasData.set(true);
lastTime = /** @type {number} */ (data.at(-1)?.time) ?? -Infinity;
lastTime =
/** @type {number} */ (data.at(-1)?.time) ?? -Infinity;
if (fitContent) {
ichart.timeScale().fitContent();