Commit 08263191 authored by Oleg.Korshul's avatar Oleg.Korshul

сдвиг окна коммента

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60253 954022d7-b5bf-4e40-9824-e11837661b57
parent 27d69001
......@@ -1765,8 +1765,8 @@ function CDrawingDocument()
var _word_control = this.m_oWordControl;
var dKoef = (this.m_oWordControl.m_nZoomValue * g_dKoef_mm_to_pix / 100);
var x_pix = (this.SlideCurrectRect.left + x * dKoef/* + _word_control.m_oMainContent.AbsolutePosition.L * g_dKoef_mm_to_pix*/) >> 0;
var y_pix = (this.SlideCurrectRect.top + y * dKoef/* + _word_control.m_oMainContent.AbsolutePosition.T * g_dKoef_mm_to_pix*/) >> 0;
var x_pix = (this.SlideCurrectRect.left + x * dKoef + _word_control.m_oMainView.AbsolutePosition.L * g_dKoef_mm_to_pix) >> 0;
var y_pix = (this.SlideCurrectRect.top + y * dKoef + _word_control.m_oMainView.AbsolutePosition.T * g_dKoef_mm_to_pix) >> 0;
x_pix += COMMENT_WIDTH;
y_pix += ((COMMENT_HEIGHT / 3) >> 0);
......
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