Commit b7a6181f authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

overlay globalAlpha

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47564 954022d7-b5bf-4e40-9824-e11837661b57
parent 7e085432
...@@ -2007,7 +2007,6 @@ function DrawingObjects() { ...@@ -2007,7 +2007,6 @@ function DrawingObjects() {
overlayCtx = currentSheet.overlayCtx; overlayCtx = currentSheet.overlayCtx;
shapeCtx = currentSheet.shapeCtx; shapeCtx = currentSheet.shapeCtx;
shapeOverlayCtx = currentSheet.shapeOverlayCtx; shapeOverlayCtx = currentSheet.shapeOverlayCtx;
shapeOverlayCtx.put_GlobalAlpha(true, 0.5)
isViewerMode = function() { return worksheet._trigger("getViewerMode"); }; isViewerMode = function() { return worksheet._trigger("getViewerMode"); };
...@@ -2346,8 +2345,10 @@ function DrawingObjects() { ...@@ -2346,8 +2345,10 @@ function DrawingObjects() {
} }
_this.showOverlayGraphicObjects = function() { _this.showOverlayGraphicObjects = function() {
shapeOverlayCtx.put_GlobalAlpha(true, 0.5);
shapeOverlayCtx.m_oContext.clearRect(0, 0, shapeOverlayCtx.m_lWidthPix, shapeOverlayCtx.m_lHeightPix); shapeOverlayCtx.m_oContext.clearRect(0, 0, shapeOverlayCtx.m_lWidthPix, shapeOverlayCtx.m_lHeightPix);
_this.controller.drawTracks(shapeOverlayCtx); _this.controller.drawTracks(shapeOverlayCtx);
shapeOverlayCtx.put_GlobalAlpha(true, 1)
} }
_this.showOverlayDrawingObjects = function() { _this.showOverlayDrawingObjects = function() {
......
Markdown is supported
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