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

This commit is contained in:
Ibrahim 2024-05-15 11:39:03 -04:00 committed by GitHub
parent bbd41ac3dd
commit 8d5c676a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ const toolbarButtons: Button[] = [
min: 0,
max: 100,
step: 0.5,
values: [2, 50],
value: [2, 50],
commands: {
commandName: 'setThresholdRange',
commandOptions: {

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: {