diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 2dcc760..b560793 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -633,7 +633,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", width: (x - offsetX1), height: (y - offsetY1), - resizeFromCenter: true, + resizeFromCenter: false, dblclick: function () { @@ -709,6 +709,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 = []; @@ -979,6 +980,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; @@ -1361,6 +1363,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"; @@ -1628,6 +1631,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;