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,
|
min: 0,
|
||||||
max: 100,
|
max: 100,
|
||||||
step: 0.5,
|
step: 0.5,
|
||||||
values: [2, 50],
|
value: [2, 50],
|
||||||
commands: {
|
commands: {
|
||||||
commandName: 'setThresholdRange',
|
commandName: 'setThresholdRange',
|
||||||
commandOptions: {
|
commandOptions: {
|
||||||
|
|||||||
@ -264,7 +264,7 @@ const toolbarButtons = [
|
|||||||
min: 0,
|
min: 0,
|
||||||
max: 50,
|
max: 50,
|
||||||
step: 0.5,
|
step: 0.5,
|
||||||
values: [2.5, 50],
|
value: [2.5, 50],
|
||||||
condition: ({ options }) =>
|
condition: ({ options }) =>
|
||||||
options.find(option => option.id === 'dynamic-mode').value === 'ThresholdRange',
|
options.find(option => option.id === 'dynamic-mode').value === 'ThresholdRange',
|
||||||
commands: {
|
commands: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user