Commit 1967452c authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил баг http://bugzserver/show_bug.cgi?id=25729

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57500 954022d7-b5bf-4e40-9824-e11837661b57
parent 368a2df8
......@@ -5260,18 +5260,12 @@
this.drawingGraphicCtx.moveImageDataSafari(x, y, oldW, moveHeight, x + dx, y - dy);
else
this.drawingGraphicCtx.moveImageData(x, y, oldW, moveHeight, x + dx, y - dy);
} else {
// Scroll на весь экран отрабатываем для Safari
if (AscBrowser.isSafari)
this.drawingGraphicCtx.clear();
}
var clearTop = y + (scrollDown ? moveHeight - dy : 0);
moveHeight = Math.abs(dy) + lastRowHeight;
ctx.setFillStyle(this.settings.cells.defaultState.background)
.fillRect(this.headersLeft, clearTop, ctxW, moveHeight);
if (!AscBrowser.isSafari)
this.drawingGraphicCtx.clearRect(this.headersLeft, clearTop, ctxW, moveHeight);
this.drawingGraphicCtx.clearRect(this.headersLeft, clearTop, ctxW, moveHeight);
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges();
......@@ -5396,19 +5390,13 @@
this.drawingGraphicCtx.moveImageDataSafari(x, y, moveWidth, ctxH, x - dx, y);
else
this.drawingGraphicCtx.moveImageData(x, y, moveWidth, ctxH, x - dx, y);
} else {
// Scroll на весь экран отрабатываем для Safari
if (AscBrowser.isSafari)
this.drawingGraphicCtx.clear();
}
var clearLeft = x + (scrollRight > 0 ? moveWidth - dx : 0);
moveWidth = Math.abs(dx) + lastColWidth;
ctx.setFillStyle(this.settings.cells.defaultState.background)
.fillRect(clearLeft, y, moveWidth, ctxH);
if (!AscBrowser.isSafari)
this.drawingGraphicCtx.clearRect(clearLeft, y, moveWidth, ctxH);
this.drawingGraphicCtx.clearRect(clearLeft, y, moveWidth, ctxH);
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges();
......
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