fix(tmtv): threshold was crashing the side panel (#4119)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-05-15 11:39:03 -04:00
1 parent bbd41ac3dd
commit 8d5c676a5e
2 files changed
+2 -2

No files matched your search

@@ -119,7 +119,7 @@ const toolbarButtons: Button[] = [
min: 0,
max: 100,
step: 0.5,
values: [2, 50],
value: [2, 50],
commands: {
commandName: 'setThresholdRange',
commandOptions: {
+1 -1
View File
@@ -264,7 +264,7 @@ const toolbarButtons = [
min: 0,
max: 50,
step: 0.5,
values: [2.5, 50],
value: [2.5, 50],
condition: ({ options }) =>
options.find(option => option.id === 'dynamic-mode').value === 'ThresholdRange',
commands: {