Fix flicker.

Remove more code.
This commit is contained in:
Paulo Veiga
2011-08-29 20:10:05 -03:00
parent d94414775e
commit c74d2de32d
11 changed files with 83 additions and 155 deletions

View File

@@ -47,8 +47,9 @@ mindplot.commands.AddTopicCommand = new Class(
if (this._animated) {
core.Utils.setVisibilityAnimated([topic,topic.getOutgoingLine()], true, doneFn);
} else
} else {
doneFn.attempt();
}
},
undoExecute: function(commandContext) {

View File

@@ -57,7 +57,7 @@ mindplot.commands.MoveControlPointCommand = new Class({
break;
}
if (this._line.isOnFocus()) {
this._line._refreshSelectedShape();
this._line._refreshShape();
this._ctrlPointControler.setLine(this._line);
}
this._line.getLine().updateLine(this._point);
@@ -86,7 +86,7 @@ mindplot.commands.MoveControlPointCommand = new Class({
this._line.getLine().updateLine(this._point);
if (this._line.isOnFocus()) {
this._ctrlPointControler.setLine(line);
line._refreshSelectedShape();
line._refreshShape();
}
}
});