mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-11 22:51:16 -07:00
bitview: simplify options tree
This commit is contained in:
@@ -404,9 +404,6 @@ function createChartElement({
|
||||
({ _indexes, values }) => {
|
||||
if (!_indexes?.length || !values?.length) return;
|
||||
|
||||
const consoleTimeLabel = `${vecId}-time`;
|
||||
console.time(consoleTimeLabel);
|
||||
|
||||
const indexes = /** @type {number[]} */ (_indexes);
|
||||
|
||||
let length = Math.min(indexes.length, values.length);
|
||||
@@ -500,8 +497,6 @@ function createChartElement({
|
||||
index,
|
||||
unit,
|
||||
});
|
||||
|
||||
console.timeEnd(consoleTimeLabel);
|
||||
},
|
||||
);
|
||||
} else {
|
||||
@@ -873,7 +868,7 @@ function createLegend({ signals, utils }) {
|
||||
inputId: utils.stringToId(`legend-${series.id}`),
|
||||
inputName: utils.stringToId(`selected-${series.id}`),
|
||||
inputValue: "value",
|
||||
labelTitle: "Click to toggle",
|
||||
title: "Click to toggle",
|
||||
inputChecked: series.active(),
|
||||
onClick: () => {
|
||||
series.active.set(input.checked);
|
||||
|
||||
Reference in New Issue
Block a user