Skip to content
Snippets Groups Projects
Commit 7cdeeb0f authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: segmentation opacity method

parent 3ef883af
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ export class LayerBrowser implements OnInit, OnDestroy {
if (typeof l.layer.opacity === 'object') {
l.layer.opacity.value = value
} else if (typeof l.layer.displayState === 'object') {
l.layer.displayState.selectedAlpha = value
l.layer.displayState.selectedAlpha.value = value
} else {
this.log.warn({
msg: `layer does not belong anywhere`,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment