Commit 0fdf209ff6d51b1f6d1708160686f37ab4a992d2

Authored by Nikita Kulshreshtha
1 parent c62ac39d

resolved

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -4924,10 +4924,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -4924,10 +4924,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
4924 4924
4925 $scope.isResized = true; 4925 $scope.isResized = true;
4926 4926
4927 - if ($scope.isTBDrawnOnBodyRegion == false) {  
4928 - $scope.layerNumber = $scope.layerNumber + 1;  
4929 - }  
4930 -  
4931 if (tCanvasHeight != $scope.transparencyCanvasHeight || tCanvasWidth != $scope.transparencyCanvasWidth) { 4927 if (tCanvasHeight != $scope.transparencyCanvasHeight || tCanvasWidth != $scope.transparencyCanvasWidth) {
4932 4928
4933 4929
@@ -4993,7 +4989,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -4993,7 +4989,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
4993 4989
4994 if (TBStartX <= bodyRegionRight && value.X <= TBRight && TBStartY <= bodyRegionBottom && value.Y <= TBBottom) { 4990 if (TBStartX <= bodyRegionRight && value.X <= TBRight && TBStartY <= bodyRegionBottom && value.Y <= TBBottom) {
4995 4991
4996 - 4992 + if ($scope.isTBDrawnOnBodyRegion == false) {
  4993 + $scope.layerNumber = $scope.layerNumber + 1;
  4994 + }
4997 $scope.loadTransparencyImage(value.bodyRegionId, value.Height, value.Width, value.X, value.Y, value.IsMirror, $scope.TransparencyBoxStartX, $scope.TransparencyEndX, $scope.TransparencyBoxStartY, $scope.TransparencyBoxEndY, $scope, false, false); 4995 $scope.loadTransparencyImage(value.bodyRegionId, value.Height, value.Width, value.X, value.Y, value.IsMirror, $scope.TransparencyBoxStartX, $scope.TransparencyEndX, $scope.TransparencyBoxStartY, $scope.TransparencyBoxEndY, $scope, false, false);
4998 $scope.isTBDrawnOnBodyRegion = true; 4996 $scope.isTBDrawnOnBodyRegion = true;
4999 } 4997 }