Commit 4f379910 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

клип при отрисовке

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57088 954022d7-b5bf-4e40-9824-e11837661b57
parent ddc5b18d
......@@ -3178,6 +3178,7 @@ function DrawingObjects() {
shapeCtx.m_oContext.save();
shapeCtx.m_oContext.beginPath();
shapeCtx.m_oContext.rect(ptToPx(x1 - offsetScroll.offsetX), ptToPx(y1 - offsetScroll.offsetY), ptToPx(w), ptToPx(h));
shapeCtx.m_oContext.clip();
shapeCtx.updatedRect = updatedRect;
} else
......@@ -3251,7 +3252,9 @@ function DrawingObjects() {
}
if (graphicOption)
shapeCtx.m_oContext.restore();
{
shapeCtx.m_oContext.restore();
}
}
worksheet.model.Drawings = aObjects;
}
......
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