Fix bug: cursor is not visible when you click outside of surface and then click back in the surface at the same offset where cursor was before

This commit is contained in:
Inez Korczynski 2011-12-10 10:33:00 +00:00
parent 62d68be40a
commit 62a589e185

View file

@ -62,16 +62,16 @@ es.SurfaceModel.prototype.getSelection = function() {
*/
es.SurfaceModel.prototype.select = function( selection, isManual ) {
selection.normalize();
if (
/*if (
( ! this.selection ) || ( ! this.selection.equals( selection ) )
) {
) {*/
if ( isManual ) {
this.breakpoint();
}
// check if the last thing is a selection, if so, swap it.
this.selection = selection;
this.emit( 'select', this.selection.clone() );
}
//}
};
/**