Commit 29ab0dab authored by techird's avatar techird

select

parent 603838dd
......@@ -87,7 +87,13 @@ KityMinder.registerModule( "Select", function () {
}
},
mousemove: marqueeActivator.selectMove,
mouseup: marqueeActivator.selectEnd
mouseup: function ( e ) {
var clickNode = e.getTargetNode();
if ( clickNode && clickNode.isSelected() && !this.isSingleSelect() ) {
this.select( clickNode, true );
}
marqueeActivator.selectEnd( e );
}
}
};
} );
\ No newline at end of file
KityMinder.registerModule( 'Zoom', function () {
/*
return {
events: {
'mousewheel': function ( e ) {
......@@ -18,5 +18,6 @@ KityMinder.registerModule( 'Zoom', function () {
this._zoom = 1;
}
}
};
};*/
return {};
} );
\ No newline at end of file
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