Commit 1e62cb2c1a82b76f6e3cc75898a887ba235bb9cc
1 parent
538312a1
Renamed one more function
Showing
1 changed file
with
2 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -913,7 +913,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | @@ -913,7 +913,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | ||
913 | $('.btnCursor').addClass('activebtncolor'); | 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 | debugger; | 919 | debugger; |
@@ -1196,7 +1196,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | @@ -1196,7 +1196,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | ||
1196 | // Draw text | 1196 | // Draw text |
1197 | $rootScope.resetTextRect = $rootScope.ObjectIndex++; | 1197 | $rootScope.resetTextRect = $rootScope.ObjectIndex++; |
1198 | $rootScope.TextNumber = $rootScope.ObjectIndex++; | 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 | break; | 1200 | break; |
1201 | 1201 | ||
1202 | case "DrawPolygon": | 1202 | case "DrawPolygon": |