Skip to content

Commit

Permalink
item being edite is always visible
Browse files Browse the repository at this point in the history
  • Loading branch information
ondras committed May 27, 2014
1 parent d5f94f1 commit 3b290f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions my-mind.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ MM.Item.prototype.handleEvent = function(e) {
switch (e.type) {
case "input":
this.updateSubtree();
this.getMap().ensureItemVisibility(this);
break;

case "keydown":
Expand Down
1 change: 1 addition & 0 deletions src/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ MM.Item.prototype.handleEvent = function(e) {
switch (e.type) {
case "input":
this.updateSubtree();
this.getMap().ensureItemVisibility(this);
break;

case "keydown":
Expand Down

0 comments on commit 3b290f1

Please sign in to comment.