Commit 3d2fd2cf authored by techird's avatar techird

Merge branch 'dev' of github.com:fex-team/kityminder into dev

parents 271ff145 a311ef01
......@@ -19,6 +19,7 @@
5. 优化了输入文字时的卡顿效果
6. 优化了当输入中文时,中文显示位置与光标距离过远的问题
7. html标签转码问题
8. 修复撤销按钮点击后,重做按钮还是不可点问题
## v1.1.2
......
......@@ -66,6 +66,14 @@ kity.extendClass( Minder, {
this._hasEnterExecCommand = false;
} else {
result = cmd.execute.apply( cmd, [ me ].concat( cmdArgs ) );
if(!this._hasEnterExecCommand){
if ( cmd.isSelectionChanged() ) {
this._firePharse( new MinderEvent( 'selectionchange' ) );
}
this._firePharse( new MinderEvent( 'interactchange' ) );
}
}
return result === undefined ? null : result;
......
......@@ -73,6 +73,9 @@ KityMinder.registerModule( "Expand", function () {
}
}
}
for ( var j = 0; j < selectedNodes.length; j++ ) {
km.highlightNode( selectedNodes[ j ] );
}
}
// var setOptionValue = function ( root, layer, sub ) {
......
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