Commit 81c99893 authored by SergeyLuzyanin's avatar SergeyLuzyanin

drawNotesSelect

parent 29193998
......@@ -1154,6 +1154,7 @@ CPresentation.prototype =
}
else{
if(oCurNotesShape && oCurNotesShape === oDrawingObject){
this.Slides[this.CurPage].recalculateNotesShape();
bRedrawNotes = true;
}
}
......
......@@ -457,7 +457,7 @@ CShape.prototype.recalculate = function ()
{
if(this.bDeleted || !this.parent)
return;
var check_slide_placeholder = !this.isPlaceholder() || (this.parent && (this.parent.getObjectType() === AscDFH.historyitem_type_Slide || this.parent.getObjectType() === AscDFH.historyitem_type_Notes));
var check_slide_placeholder = !this.isPlaceholder() || (this.parent && (this.parent.getObjectType() === AscDFH.historyitem_type_Slide));
AscFormat.ExecuteNoHistory(function(){
if (this.recalcInfo.recalculateBrush) {
......
......@@ -1114,6 +1114,18 @@ Slide.prototype =
this.graphicObjects.drawSelect(0, this.presentation.DrawingDocument);
},
drawNotesSelect: function(){
if(this.notesShape){
var content = this.notesShape.getDocContent();
if(content)
{
this.presentation.DrawingDocument.UpdateTargetTransform(this.notesShape.transformText);
content.DrawSelectionOnPage(0);
}
}
},
removeAllCommentsToInterface: function()
{
if(this.slideComments)
......
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