Commit 6844970c authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил баг http://bugzserver/show_bug.cgi?id=24281

Не отображались комментарии при scroll на некоторых положениях

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56338 954022d7-b5bf-4e40-9824-e11837661b57
parent f79664c8
...@@ -5314,12 +5314,12 @@ ...@@ -5314,12 +5314,12 @@
if (reinitScrollY) if (reinitScrollY)
this.handlers.trigger("reinitializeScrollY"); this.handlers.trigger("reinitializeScrollY");
this.cellCommentator.updateCommentPosition();
this.handlers.trigger("onDocumentPlaceChanged"); this.handlers.trigger("onDocumentPlaceChanged");
this.cellCommentator.drawCommentCells();
//ToDo this.drawDepCells(); //ToDo this.drawDepCells();
if(this.objectRender && this.objectRender.drawingArea) if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges(); this.objectRender.drawingArea.reinitRanges();
this.cellCommentator.updateCommentPosition();
this.cellCommentator.drawCommentCells();
this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollVertical, rangeGraphic)); this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollVertical, rangeGraphic));
return this; return this;
}; };
...@@ -5413,13 +5413,13 @@ ...@@ -5413,13 +5413,13 @@
if (reinitScrollX) if (reinitScrollX)
this.handlers.trigger("reinitializeScrollX"); this.handlers.trigger("reinitializeScrollX");
this.cellCommentator.updateCommentPosition();
this.handlers.trigger("onDocumentPlaceChanged"); this.handlers.trigger("onDocumentPlaceChanged");
this.cellCommentator.drawCommentCells();
//ToDo this.drawDepCells(); //ToDo this.drawDepCells();
if(this.objectRender && this.objectRender.drawingArea) if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges(); this.objectRender.drawingArea.reinitRanges();
this.cellCommentator.updateCommentPosition();
this.cellCommentator.drawCommentCells();
this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollHorizontal, rangeGraphic)); this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollHorizontal, rangeGraphic));
return this; return this;
}; };
......
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