TextEditor is positioned based on mootools functions.

This commit is contained in:
Paulo Veiga
2011-08-23 20:56:01 -03:00
parent fb39e32b33
commit 1f5dbfb5d2
6 changed files with 12 additions and 27 deletions

View File

@@ -27,7 +27,7 @@ mindplot.util.Shape =
calculateRectConnectionPoint: function(rectCenterPoint, rectSize, isAtRight) {
$assert(rectCenterPoint, 'rectCenterPoint can not be null');
$assert(rectSize, 'rectSize can not be null');
$assert(isAtRight, 'isRight can not be null');
$assert($defined(isAtRight), 'isRight can not be null');
// Node is placed at the right ?
var result = new core.Point();