Fix missing migrated event...

This commit is contained in:
Paulo Veiga
2011-08-05 01:34:51 -03:00
parent 36e44c13ca
commit b15ff84a94
7 changed files with 39 additions and 27 deletions

View File

@@ -201,8 +201,11 @@ mindplot.DragPivot = new Class({
// Connected to Rect ...
var connectRect = this._connectRect;
var targetSize = targetTopic.getSize();
var width = targetSize.width;
var height = targetSize.height;
// Add 4 pixel in order to keep create a rect bigger than the topic.
var width = targetSize.width + 4;
var height = targetSize.height + 4;
connectRect.setSize(width, height);
var targetPosition = targetTopic.getPosition();