Skip to content

Commit 50eb6d6

Browse files
committed
doc(VolumeViewer): Enable rescaleColorMap by default
1 parent a8e990a commit 50eb6d6

File tree

1 file changed

+1
-0
lines changed
  • Examples/Applications/VolumeViewer

1 file changed

+1
-0
lines changed

Examples/Applications/VolumeViewer/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ function createViewer(rootContainer, fileContents, options) {
128128
// Control UI
129129
const controllerWidget = vtkVolumeController.newInstance({
130130
size: [400, 150],
131+
rescaleColorMap: true,
131132
});
132133
const isBackgroundDark = background[0] + background[1] + background[2] < 1.5;
133134
controllerWidget.setContainer(rootContainer);

0 commit comments

Comments
 (0)