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

четкий, не дергающийся селект

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49602 954022d7-b5bf-4e40-9824-e11837661b57
parent fa67f8a4
......@@ -3834,11 +3834,14 @@ function CDrawingDocument()
if (!this.IsTextMatrixUse)
{
var _x = ((drawPage.left + dKoefX * x) >> 0) - 0.5;
var _y = ((drawPage.top + dKoefY * y) >> 0) - 0.5;
var _x = ((drawPage.left + dKoefX * x) >> 0);
var _y = ((drawPage.top + dKoefY * y) >> 0);
var _w = (dKoefX * w + 1) >> 0;
var _h = (dKoefY * h + 1) >> 0;
var _r = ((drawPage.left + dKoefX * (x + w)) >> 0);
var _b = ((drawPage.top + dKoefY * (y + h)) >> 0);
var _w = _r - _x + 1;
var _h = _b - _y + 1;
this.Overlay.CheckRect(_x, _y, _w, _h);
this.Overlay.m_oContext.rect(_x,_y,_w,_h);
......
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