Skip to content

Commit 3bb6d2c

Browse files
committed
feat(release): release v1.0.50
1 parent c92703f commit 3bb6d2c

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kityminder-editor",
3-
"version": "1.0.49",
3+
"version": "1.0.50",
44
"authors": [
55
66
],

dist/kityminder.editor.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* ====================================================
3-
* kityminder-editor - v1.0.49 - 2016-01-19
3+
* kityminder-editor - v1.0.50 - 2016-01-21
44
* https://github.com/fex-team/kityminder-editor
55
* GitHub: https://github.com/fex-team/kityminder-editor
66
* Copyright (c) 2016 ; Licensed
@@ -1395,6 +1395,7 @@ _p[15] = {
13951395
var fsm = this.fsm;
13961396
var main = hotbox.state("main");
13971397
var buttons = [ "前移:Alt+Up:ArrangeUp", "下级:Tab|Insert:AppendChildNode", "同级:Enter:AppendSiblingNode", "后移:Alt+Down:ArrangeDown", "删除:Delete|Backspace:RemoveNode", "上级:Shift+Tab|Shift+Insert:AppendParentNode" ];
1398+
var AppendLock = 0;
13981399
buttons.forEach(function(button) {
13991400
var parts = button.split(":");
14001401
var label = parts.shift();
@@ -1406,10 +1407,13 @@ _p[15] = {
14061407
key: key,
14071408
action: function() {
14081409
if (command.indexOf("Append") === 0) {
1410+
AppendLock++;
14091411
minder.execCommand(command, "分支主题");
14101412
// provide in input runtime
14111413
function afterAppend() {
1412-
runtime.editText();
1414+
if (!--AppendLock) {
1415+
runtime.editText();
1416+
}
14131417
minder.off("layoutallfinish", afterAppend);
14141418
}
14151419
minder.on("layoutallfinish", afterAppend);

dist/kityminder.editor.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kityminder-editor",
3-
"version": "1.0.49",
3+
"version": "1.0.50",
44
"description": "A powerful mind map editor",
55
"main": "kityminder.editor.js",
66
"scripts": {

0 commit comments

Comments
 (0)