diff --git a/src/neuroglancer/image_user_layer.ts b/src/neuroglancer/image_user_layer.ts index 9942b2a30..248ffccd2 100644 --- a/src/neuroglancer/image_user_layer.ts +++ b/src/neuroglancer/image_user_layer.ts @@ -299,17 +299,22 @@ const LAYER_CONTROLS: LayerControlDefinition[] = [ })), }, { - label: 'Blending', + label: 'Blending (slice)', toolJson: BLEND_JSON_KEY, ...enumLayerControl(layer => layer.blendMode), }, + { + label: 'Opacity (slice)', + toolJson: OPACITY_JSON_KEY, + ...rangeLayerControl(layer => ({value: layer.opacity})), + }, { label: 'Volume rendering (experimental)', toolJson: VOLUME_RENDERING_JSON_KEY, ...checkboxLayerControl(layer => layer.volumeRendering), }, { - label: 'Resolution (3d)', + label: 'Resolution (3D)', toolJson: VOLUME_RENDER_SCALE_JSON_KEY, isValid: layer => layer.volumeRendering, ...renderScaleLayerControl(layer => ({ @@ -317,11 +322,6 @@ const LAYER_CONTROLS: LayerControlDefinition[] = [ target: layer.volumeRenderingRenderScaleTarget })), }, - { - label: 'Opacity', - toolJson: OPACITY_JSON_KEY, - ...rangeLayerControl(layer => ({value: layer.opacity})), - }, ]; for (const control of LAYER_CONTROLS) {