Commit 69bf28fe authored by Oleg Korshul's avatar Oleg Korshul

fix Bug 33980

parent b005068e
...@@ -905,6 +905,9 @@ function (window, undefined) ...@@ -905,6 +905,9 @@ function (window, undefined)
var _koef = AscCommon.AscBrowser.isRetina ? 2 : 1; var _koef = AscCommon.AscBrowser.isRetina ? 2 : 1;
var _oldGlobalAlpha = ctx.globalAlpha;
ctx.globalAlpha = 1.0;
if (!_matrix || global_MatrixTransformer.IsIdentity(_matrix)) if (!_matrix || global_MatrixTransformer.IsIdentity(_matrix))
{ {
var pos1 = this.delegate.ConvertCoordsToCursor(this.RectSelect1.x, this.RectSelect1.y, this.PageSelect1, false); var pos1 = this.delegate.ConvertCoordsToCursor(this.RectSelect1.x, this.RectSelect1.y, this.PageSelect1, false);
...@@ -1006,6 +1009,8 @@ function (window, undefined) ...@@ -1006,6 +1009,8 @@ function (window, undefined)
ctx.beginPath(); ctx.beginPath();
} }
ctx.globalAlpha = _oldGlobalAlpha;
}; };
//--------------------------------------------------------export---------------------------------------------------- //--------------------------------------------------------export----------------------------------------------------
......
...@@ -1403,6 +1403,9 @@ ...@@ -1403,6 +1403,9 @@
ctx.strokeStyle = "#146FE1"; ctx.strokeStyle = "#146FE1";
ctx.fillStyle = "#146FE1"; ctx.fillStyle = "#146FE1";
var _oldGlobalAlpha = ctx.globalAlpha;
ctx.globalAlpha = 1.0;
if (!_matrix || global_MatrixTransformer.IsIdentity(_matrix)) if (!_matrix || global_MatrixTransformer.IsIdentity(_matrix))
{ {
var pos1 = this.delegate.ConvertCoordsToCursor(this.RectSelect1.x, this.RectSelect1.y, this.PageSelect1, false); var pos1 = this.delegate.ConvertCoordsToCursor(this.RectSelect1.x, this.RectSelect1.y, this.PageSelect1, false);
...@@ -1488,6 +1491,8 @@ ...@@ -1488,6 +1491,8 @@
ctx.beginPath(); ctx.beginPath();
} }
ctx.globalAlpha = _oldGlobalAlpha;
}; };
// отрисовка табличного селекта // отрисовка табличного селекта
......
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