diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 3125616..b1ff198 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -727,8 +727,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo // annotation toolbar canvas if ($("#canvasDiv").find("canvas[id='canvasPaint']").length == 0) { - $("#canvasDiv").append(''); - $scope.doClick(); + $("#canvasDiv").append(''); + $scope.CanvasDrawing(); $rootScope.FreeStylePaint(); } @@ -5967,7 +5967,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $("#canvas").css("display", "block"); $("#canvasPaint").css("display", "block"); - $scope.doClick(); + $scope.CanvasDrawing(); $rootScope.FreeStylePaint(); }); $scope.mousePs; @@ -5983,7 +5983,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $scope.offsetY1 = 0; $scope.x = 0; $scope.y = 0; - $scope.doClick = function (event) { + $scope.CanvasDrawing = function (event) { $scope.clicked = true; // OnPaintCanvasMouseDown(event); @@ -6921,7 +6921,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $(document).keydown(function (event) { - + // predefined function for detecting keyboard key if (event.which == 46) { if ($rootScope.shapeTypePin == "Pin") { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html index 2803e64..cee9bae 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html @@ -280,7 +280,7 @@