Add Free position integration...
This commit is contained in:
@@ -129,8 +129,11 @@ mindplot.Designer = new Class({
|
||||
});
|
||||
|
||||
dragger.addEvent('dragging', function(event, dragTopic) {
|
||||
// Update the state and connections of the topic ...
|
||||
dragConnector.update(dragTopic);
|
||||
dragTopic.updateFreeLayout(event);
|
||||
if (!dragTopic.isFreeLayoutOn(event)) {
|
||||
// The node is being drag. Is the connection still valid ?
|
||||
dragConnector.checkConnection(dragTopic);
|
||||
}
|
||||
});
|
||||
|
||||
dragger.addEvent('enddragging', function(event, dragTopic) {
|
||||
@@ -147,7 +150,6 @@ mindplot.Designer = new Class({
|
||||
var parentNode = draggedTopic.getParent();
|
||||
dragTopic.applyChanges(workspace);
|
||||
|
||||
|
||||
// Make all node visible ...
|
||||
draggedTopic.setVisibility(true);
|
||||
if (parentNode != null) {
|
||||
|
Reference in New Issue
Block a user