Commit 1e62cb2c1a82b76f6e3cc75898a887ba235bb9cc

Authored by Amrita Vishnoi
1 parent 538312a1

Renamed one more function

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -913,7 +913,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
913 913 $('.btnCursor').addClass('activebtncolor');
914 914 }
915 915  
916   - $rootScope.TextAreaOnModuleItem = function (canvasId, TextNumber, offsetX1, offsetY1, resetTextRect, shapestyleOpacity, shapestyleborderColor, shapestyleborderWidth, shapestyleFillColor, x, y) {
  916 + $rootScope.TextEditorFunctionality = function (canvasId, TextNumber, offsetX1, offsetY1, resetTextRect, shapestyleOpacity, shapestyleborderColor, shapestyleborderWidth, shapestyleFillColor, x, y) {
917 917  
918 918  
919 919 debugger;
... ... @@ -1196,7 +1196,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
1196 1196 // Draw text
1197 1197 $rootScope.resetTextRect = $rootScope.ObjectIndex++;
1198 1198 $rootScope.TextNumber = $rootScope.ObjectIndex++;
1199   - $rootScope.TextAreaOnModuleItem('#canvas', $rootScope.TextNumber, $rootScope.offsetX1, $rootScope.offsetY1, $rootScope.resetTextRect, $rootScope.shapestyleOpacity, $rootScope.shapestyleborderColor, $rootScope.shapestyleborderWidth, $rootScope.shapestyleFillColor, $rootScope.x, $rootScope.y);
  1199 + $rootScope.TextEditorFunctionality('#canvas', $rootScope.TextNumber, $rootScope.offsetX1, $rootScope.offsetY1, $rootScope.resetTextRect, $rootScope.shapestyleOpacity, $rootScope.shapestyleborderColor, $rootScope.shapestyleborderWidth, $rootScope.shapestyleFillColor, $rootScope.x, $rootScope.y);
1200 1200 break;
1201 1201  
1202 1202 case "DrawPolygon":
... ...