Commit 16ce9dfa authored by SergeyLuzyanin's avatar SergeyLuzyanin

text select in notes

parent 4cdf90cc
......@@ -3394,7 +3394,9 @@ CPresentation.prototype =
}
if(oCurSlide.notesShape){
oCurSlide.notesShape.selectionSetStart(e, X, Y, 0);
this.Notes_UpdateSelectionState();
if(e.ClickCount < 2){
this.Document_UpdateSelectionState();
}
this.Document_UpdateInterfaceState();
}
}
......@@ -3406,7 +3408,7 @@ CPresentation.prototype =
if(oCurSlide){
if(oCurSlide.notesShape){
oCurSlide.notesShape.selectionSetEnd(e, X, Y, 0);
this.Notes_UpdateSelectionState();
this.Document_UpdateSelectionState();
this.Document_UpdateInterfaceState();
this.Api.sendEvent("asc_onSelectionEnd");
}
......@@ -3420,7 +3422,7 @@ CPresentation.prototype =
if(oCurSlide.notesShape){
if(e.IsLocked){
oCurSlide.notesShape.selectionSetEnd(e, X, Y, 0);
this.Notes_UpdateSelectionState();
this.Document_UpdateSelectionState();
this.UpdateCursorType(X, Y, e );
editor.sync_MouseMoveEndCallback();
}
......@@ -3428,15 +3430,6 @@ CPresentation.prototype =
}
},
Notes_UpdateSelectionState: function(){
var oCurSlide = this.Slides[this.CurPage];
if(oCurSlide){
if(oCurSlide.notesShape){
oCurSlide.notesShape.updateSelectionState();
}
}
},
Get_TableStyleForPara : function()
{
return null;
......
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