initial cleanup

This commit is contained in:
terraputix
2026-01-07 23:45:10 +01:00
parent 2d31df88f0
commit f781ef4fd6
325 changed files with 1903 additions and 1000 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ export default (
ctx: CanvasRenderingContext2D | null | undefined,
config: ConfigInterface,
series: Float32Array | null | undefined,
canvasElement: HTMLCanvasElement | null
canvasElement: HTMLCanvasElement
): void => {
if (ctx && series) {
ctx.beginPath();
@@ -41,7 +41,7 @@ export default (
);
// same series but reversed
for (const [ind, v] of series.entries()) {
for (const [ind, _v] of series.entries()) {
const index = series.length - 1 - ind;
const value = series[index];
const nextValue = series[index - 1];