Fix flicker.
Remove more code.
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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();
|
||||
}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user