refresing control points when undoing topic move
This commit is contained in:
@@ -49,6 +49,11 @@ mindplot.ControlPoint.prototype.setLine= function(line) {
|
||||
this._endPoint[1] = this._line.getLine().getTo().clone();
|
||||
};
|
||||
|
||||
mindplot.ControlPoint.prototype.redraw = function(){
|
||||
if(this._line)
|
||||
this._createControlPoint();
|
||||
};
|
||||
|
||||
mindplot.ControlPoint.prototype._createControlPoint = function() {
|
||||
this._controls= this._line.getLine().getControlPoints();
|
||||
var pos = this._line.getLine().getFrom();
|
||||
|
||||
Reference in New Issue
Block a user