diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 350d635..e47132a 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1035,6 +1035,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } imgCanvas.addEventListener('click', function (evt) { + if (evt.ctrlKey) + { + $scope.multiAnnotationIsON = true; + } // debugger; var annotationText; @@ -1073,7 +1077,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo { if ($scope.machedBodyRegion.length > 0) { - if ($scope.multiAnnotationIsON == false) { + if ($scope.multiAnnotationIsON == false) + { for (var i = 0; i < $scope.machedBodyRegion.length; i++) { var bodyRegionId = $scope.machedBodyRegion[i]; @@ -1085,7 +1090,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo var grayImageData = $rootScope.grayImageDataList[bodyRegionId - 1]; grayCanvasContext.putImageData(grayImageData, 0, 0) - } + + } } var ActualTermNo = $scope.getActualTermNumber(RGBColor);