Revert "Reverted unstable changes from db74c6394392fd5c03362de1d98a0c4d2880d103"

This reverts commit c7dcf9faf8.

Conflicts:

	mindplot/src/main/javascript/DragPivot.js
This commit is contained in:
Paulo Veiga
2012-01-21 09:37:01 -03:00
parent ba66d6b60f
commit 9748711011
5 changed files with 55 additions and 42 deletions

View File

@@ -67,6 +67,16 @@ mindplot.DragTopic = new Class({
}
},
setVisibility:function(value) {
var dragPivot = this._getDragPivot();
dragPivot.setVisibility(value);
},
isVisible:function() {
var dragPivot = this._getDragPivot();
return dragPivot.isVisible();
},
getInnerShape : function() {
return this._elem2d;
},
@@ -110,6 +120,7 @@ mindplot.DragTopic = new Class({
var dragPivot = this._getDragPivot();
var position = predict.position;
dragPivot.connectTo(parent, position);
dragPivot.setVisibility(true);
this.setOrder(predict.order);
},