From 80a5a0930ba6867b66d1962003f1b588d33c1d26 Mon Sep 17 00:00:00 2001 From: nikita Date: Mon, 10 Oct 2016 11:46:12 +0530 Subject: [PATCH] Refs: #8553 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 7b50a73..cd084df 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1445,6 +1445,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo function start() { + context.save(); context.translate(w, 0); context.scale(-1, 1); @@ -1808,8 +1809,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo context.drawImage(img, 0, 0); - - if (isMaskImage == 'N') { if (bodyRegionId == 'modestyImg3' || bodyRegionId == 'modestyImg2') { //do nothing @@ -5479,6 +5478,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo context_gray.putImageData(imgData, 0, 0); } + imageCanvas.style.visibility = 'visible'; //push BRID into array $scope.grayedBR.push({ 'BRID': value.bodyRegionId }); @@ -5566,7 +5566,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } - $timeout(function () { imageCanvas.style.visibility = 'visible' }, 50); + // $timeout(function () { imageCanvas.style.visibility = 'visible' }, 50); console.log('highlightboy. $rootScope.isExtract= '+$rootScope.isExtract+', $rootScope.previousHighlightList.length= ' + $rootScope.previousHighlightList.length) if ($rootScope.isExtract == true) { @@ -5680,7 +5680,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo context.putImageData(imgData, 0, 0); } - + imageCanvas.style.visibility = 'visible' var grayImageData = context.getImageData(0, 0, width, ht); var grayImageImageDataVar = grayImageData.data; @@ -5705,7 +5705,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } } - $timeout(function () { imageCanvas.style.visibility = 'visible' }, 50); + // $timeout(function () { imageCanvas.style.visibility = 'visible' }, 50); } }) -- libgit2 0.21.4