feat(Segmentation): Segmentation highlight animation function selection (#5401)
This commit is contained in:
1 parent
de201d567f
commit
69dbe27784
8 files changed
+734
-67
No files matched your search
+1
-1
@@ -346,7 +346,7 @@ jumpToSegmentCenter(
|
||||
highlightSegment = true,
|
||||
animationLength = 750,
|
||||
highlightHideOthers = false,
|
||||
highlightFunctionType = 'ease-in-out'
|
||||
animationFunctionType = 'ease-in-out'
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
+30
-1
@@ -1313,7 +1313,7 @@ window.config = {
|
||||
};
|
||||
`,
|
||||
},
|
||||
{
|
||||
{
|
||||
id: 'panelSegmentation.disableUpdateSegmentationStats',
|
||||
description: 'Disables the automatic update of segmentation statistics in the panel.',
|
||||
default: false,
|
||||
@@ -1328,6 +1328,35 @@ window.config = {
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
`,
|
||||
},
|
||||
{
|
||||
id: 'panelSegmentation.jumpToSegmentHighlightAnimationConfig',
|
||||
description:
|
||||
'Customize the highlight animation when clicking on a segment at the segmentation panel and jumping to it.',
|
||||
default: {
|
||||
highlightAlpha: 0.9,
|
||||
highlightSegment: true,
|
||||
animationLength: 750,
|
||||
animationFunctionType: 'ease-in-out',
|
||||
},
|
||||
image: [],
|
||||
configuration: `
|
||||
window.config = {
|
||||
// rest of window config
|
||||
customizationService: [
|
||||
{
|
||||
'panelSegmentation.jumpToSegmentHighlightAnimationConfig': {
|
||||
$set: {
|
||||
highlightAlpha: 1.0,
|
||||
highlightSegment: true,
|
||||
animationLength: 900,
|
||||
animationFunctionType: 'linear', // one of 'ease-in-out', 'ease-in', 'ease-out', 'ease', 'linear'
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
`,
|
||||
},
|
||||
|
||||
+1
-1
@@ -346,7 +346,7 @@ jumpToSegmentCenter(
|
||||
highlightSegment = true,
|
||||
animationLength = 750,
|
||||
highlightHideOthers = false,
|
||||
highlightFunctionType = 'ease-in-out'
|
||||
animationFunctionType = 'ease-in-out'
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user