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

Фикс падения от ревизии #54246(нет канвы)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54258 954022d7-b5bf-4e40-9824-e11837661b57
parent 5540d213
......@@ -1186,9 +1186,12 @@
this.canvas.height = this.canvasOverlay.height = this.canvasGraphic.height = this.canvasGraphicOverlay.height = height;
// При смене ориентации у планшета, сбрасываются флаги у canvas!
this.drawingCtx.initContextSmoothing();
this.overlayCtx.initContextSmoothing();
this.drawingCtxCharts.initContextSmoothing();
if ( this.drawingCtx )
this.drawingCtx.initContextSmoothing();
if ( this.overlayCtx )
this.overlayCtx.initContextSmoothing();
if ( this.drawingCtxCharts )
this.drawingCtxCharts.initContextSmoothing();
return true;
};
......
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