Commit d44dd094 authored by campaign's avatar campaign

Merge remote-tracking branch 'origin/dev' into dev

parents 7b9be193 29ab0dab
...@@ -87,7 +87,13 @@ KityMinder.registerModule( "Select", function () { ...@@ -87,7 +87,13 @@ KityMinder.registerModule( "Select", function () {
} }
}, },
mousemove: marqueeActivator.selectMove, 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 () { KityMinder.registerModule( 'Zoom', function () {
/*
return { return {
events: { events: {
'mousewheel': function ( e ) { 'mousewheel': function ( e ) {
...@@ -18,5 +18,6 @@ KityMinder.registerModule( 'Zoom', function () { ...@@ -18,5 +18,6 @@ KityMinder.registerModule( 'Zoom', function () {
this._zoom = 1; 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