Commit 0d64074c authored by techird's avatar techird

双击功能加上状态限制

parent 969ccf52
...@@ -133,7 +133,7 @@ KityMinder.registerModule( 'Hand', function () { ...@@ -133,7 +133,7 @@ KityMinder.registerModule( 'Hand', function () {
e.preventDefault(); e.preventDefault();
}, },
dblclick: function ( e ) { 'normal.dblclick': function ( e ) {
if ( e.getTargetNode() ) return; if ( e.getTargetNode() ) return;
var viewport = this.getPaper().getViewPort(); var viewport = this.getPaper().getViewPort();
......
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