Commit af383363 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

заглушка при отрисовке главного слоя и оверлея после asc_CloseFile

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63774 954022d7-b5bf-4e40-9824-e11837661b57
parent 704645f5
......@@ -3003,6 +3003,8 @@ function CEditorPage(api)
var ctx = overlay.m_oContext;
var drDoc = this.m_oDrawingDocument;
if (drDoc.m_lDrawingFirst < 0 || drDoc.m_lDrawingEnd < 0)
return true;
if (drDoc.m_bIsSearching)
{
......@@ -3324,6 +3326,9 @@ function CEditorPage(api)
var context = canvas.getContext("2d");
context.fillStyle = GlobalSkin.BackgroundColor;
if (this.m_oDrawingDocument.m_lDrawingFirst < 0 || this.m_oDrawingDocument.m_lDrawingEnd < 0)
return;
//this.m_oBoundsController.Clear(context);
// сначала посморим, изменились ли ректы страниц
var rectsPages = [];
......
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