diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 8501916..427df89 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -627,7 +627,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", width: (x - offsetX1), height: (y - offsetY1), - resizeFromCenter: true, + resizeFromCenter: false, dblclick: function () { @@ -703,6 +703,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", x: (offsetX1), y: (offsetY1), width: (x - offsetX1), height: (y - offsetY1), // Place a handle at each side and each corner + resizeFromCenter: false, handlePlacement: 'both', click: function (layer) { $rootScope.canvasLayerNameCollection = []; @@ -973,6 +974,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", x: $rootScope.offsetX1, y: $rootScope.offsetY1, width: ($rootScope.x - $rootScope.offsetX1), height: ($rootScope.y - $rootScope.offsetY1), + resizeFromCenter: false, add: function (layer) { $rootScope.TextAreaRectID = layer.name; @@ -1355,6 +1357,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", x: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].x, y: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].y, width: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].width, height: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].height, + resizeFromCenter: false, click: function (layer) { $rootScope.shapeTypeText = "textAreaRect"; @@ -1622,6 +1625,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", x: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].x, y: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].y, width: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].width, height: $rootScope.rectDimension[$rootScope.rectDimension.length - 1].height, + resizeFromCenter: false, click: function (layer) { $rootScope.shapeTypeText = "textAreaRect"; var layerNameSplit = layer.name;