Commit aff13c1b authored by Oleg Korshul's avatar Oleg Korshul

.

parent 3a751db5
......@@ -586,9 +586,8 @@ function CEditorPage(api)
this.initEvents();
this.OnResize(true);
this.setNodesEnable(false);
//this.m_oNotesApi = new CNotesDrawer(this);
//this.m_oNotesApi.Init();
this.m_oNotesApi = new CNotesDrawer(this);
this.m_oNotesApi.Init();
};
this.CheckRetinaDisplay = function()
......@@ -3210,6 +3209,10 @@ function CEditorPage(api)
{
oWordControl.Thumbnails.onCheckUpdate();
}
if (oWordControl.IsSupportNotes && oWordControl.m_oNotesApi)
oWordControl.m_oNotesApi.CheckPaint();
if (null != oWordControl.m_oLogicDocument)
{
oWordControl.m_oDrawingDocument.UpdateTargetFromPaint = true;
......
......@@ -5541,7 +5541,7 @@ background-repeat: no-repeat;\
return;
}
//this.WordControl.setNodesEnable((this.isViewMode || this.isMobileVersion) ? false : true);
this.WordControl.setNodesEnable((this.isViewMode || this.isMobileVersion) ? false : true);
if (isViewMode)
{
this.ShowParaMarks = false;
......
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