Skip to content

Commit

Permalink
fix(tmtv): threshold was crashing the side panel (#4119)
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE authored and sedghi committed May 16, 2024
1 parent 4029a84 commit c11c3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modes/preclinical-4d/src/segmentationButtons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const toolbarButtons: Button[] = [
min: 0,
max: 100,
step: 0.5,
values: [2, 50],
value: [2, 50],
commands: {
commandName: 'setThresholdRange',
commandOptions: {
Expand Down
2 changes: 1 addition & 1 deletion modes/tmtv/src/toolbarButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit c11c3b7

Please sign in to comment.