Commit d536bd23 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@66302 954022d7-b5bf-4e40-9824-e11837661b57
parent f7d959d4
...@@ -1150,6 +1150,10 @@ CDrawingCollaborativeTarget.prototype = ...@@ -1150,6 +1150,10 @@ CDrawingCollaborativeTarget.prototype =
this.HtmlElement.style.top = this.HtmlElementY + "px"; this.HtmlElement.style.top = this.HtmlElementY + "px";
} }
if (CollaborativeEditing)
CollaborativeEditing.Update_ForeignCursorLabelPosition(this.Id, this.HtmlElementX, this.HtmlElementY, this.Color);
// 3) добавить, если нужно // 3) добавить, если нужно
if (bIsHtmlElementCreate) if (bIsHtmlElementCreate)
{ {
......
...@@ -924,7 +924,9 @@ CPresentation.prototype = ...@@ -924,7 +924,9 @@ CPresentation.prototype =
// Отрисовка содержимого Документа // Отрисовка содержимого Документа
Draw : function(nPageIndex, pGraphics){ Draw : function(nPageIndex, pGraphics){
if(!pGraphics.IsSlideBoundsCheckerType){
CollaborativeEditing.Update_ForeignCursorsPositions(); CollaborativeEditing.Update_ForeignCursorsPositions();
}
this.Slides[nPageIndex] && this.Slides[nPageIndex].draw(pGraphics); this.Slides[nPageIndex] && this.Slides[nPageIndex].draw(pGraphics);
}, },
......
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