Commit cddb60e7 authored by Oleg Korshul's avatar Oleg Korshul

.

parent be71d4a0
This diff is collapsed.
......@@ -1674,24 +1674,6 @@ function CEditorPage(api)
oWordControl.OnUpdateOverlay();
}
if (!oWordControl.IsUpdateOverlayOnEndCheck)
{
var _hoverObj = oWordControl.m_oDrawingDocument.ContentControlObjectHover;
var _oldHover = {
state : _hoverObj.state,
id : _hoverObj.id
};
_hoverObj.check = true;
_hoverObj.state = 0;
_hoverObj.id = -1;
//oWordControl.m_oLogicDocument.DrawContentControls(pos.Page, pos.X, pos.Y, pos.Page);
_hoverObj.check = false;
if (_hoverObj.state != _oldHover.state || _hoverObj.id != _oldHover.id)
oWordControl.OnUpdateOverlay();
}
oWordControl.EndUpdateOverlay();
};
this.onMouseMove2 = function()
......@@ -2967,12 +2949,7 @@ function CEditorPage(api)
}
}
var posMouse = drDoc.ConvertCoordsFromCursor2(global_mouseEvent.X, global_mouseEvent.Y);
drDoc.ContentControlObject = null;
// for (var j = drDoc.m_lDrawingFirst; j <= drDoc.m_lDrawingEnd; j++)
// {
// this.m_oLogicDocument.DrawContentControls(j, posMouse.X, posMouse.Y, posMouse.Page);
// }
drDoc.DrawContentControlsTrack(overlay);
if (drDoc.TableOutlineDr.bIsTracked)
{
......
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