Commit 6d0acf3da6d5633c5b49f8ae39e2e6e1d4edf43f
1 parent
a82a495b
added comment
Showing
1 changed file
with
1 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -1275,6 +1275,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
1275 | 1275 | fillStyle: shapestyleFillColor, |
1276 | 1276 | fromCenter: false, |
1277 | 1277 | x: (offsetX1), y: (offsetY1), |
1278 | + //added abs | |
1278 | 1279 | width: Math.abs(x - offsetX1), height: Math.abs(y - offsetY1), |
1279 | 1280 | // Place a handle at each side and each corner |
1280 | 1281 | resizeFromCenter: false, | ... | ... |