Commit c8120256 authored by SergeyLuzyanin's avatar SergeyLuzyanin

remove unnecessary notes redraw

parent 4481eb0a
...@@ -3466,7 +3466,7 @@ CPresentation.prototype = ...@@ -3466,7 +3466,7 @@ CPresentation.prototype =
this.CurPage = PageIndex; this.CurPage = PageIndex;
var _old_focus = this.FocusOnNotes;
this.FocusOnNotes = false; this.FocusOnNotes = false;
if ( PageIndex < 0 ) if ( PageIndex < 0 )
return; return;
...@@ -3480,7 +3480,9 @@ CPresentation.prototype = ...@@ -3480,7 +3480,9 @@ CPresentation.prototype =
this.Document_UpdateSelectionState(); this.Document_UpdateSelectionState();
} }
this.Document_UpdateInterfaceState(); this.Document_UpdateInterfaceState();
this.CheckEmptyPlaceholderNotes(); if(_old_focus){
this.CheckEmptyPlaceholderNotes();
}
}, },
OnMouseUp : function(e, X, Y, PageIndex) OnMouseUp : function(e, X, Y, PageIndex)
......
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