From b4b3ddd39cbbb5c75dbbd9c16434916e925cc0ae Mon Sep 17 00:00:00 2001 From: Alexey Subach Date: Tue, 28 Jun 2016 16:59:31 +0300 Subject: [PATCH] Consider labelmap opacity when rendering it on 2D canvas --- visualization/renderer2D.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualization/renderer2D.js b/visualization/renderer2D.js index 8877307a7..424c4cbc6 100644 --- a/visualization/renderer2D.js +++ b/visualization/renderer2D.js @@ -1274,7 +1274,7 @@ X.renderer2D.prototype.render_ = function(picking, invoked) { // draw the labels with a configured opacity if (_currentLabelMap && _volume._labelmap._visible) { - var _labelOpacity = 1;//_volume._labelmap._opacity; + var _labelOpacity = _volume._labelmap._opacity; this._context.globalAlpha = _labelOpacity; // draw transparent depending on // opacity this._context.drawImage(this._labelFrameBuffer, _offset_x, _offset_y,