fix(tmtv): threshold was crashing the side panel (#4119)
This commit is contained in:
parent
bbd41ac3dd
commit
8d5c676a5e
@ -119,7 +119,7 @@ const toolbarButtons: Button[] = [
|
||||
min: 0,
|
||||
max: 100,
|
||||
step: 0.5,
|
||||
values: [2, 50],
|
||||
value: [2, 50],
|
||||
commands: {
|
||||
commandName: 'setThresholdRange',
|
||||
commandOptions: {
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user