Commit 1fe005bd7712a6d190b9cbfe5f8344fd463d188c

Authored by Amrita Vishnoi
2 parents 191a1c8d 0fdf209f

Merge branch 'Bug#13177' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -4996,10 +4996,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
4996 4996  
4997 4997 $scope.isResized = true;
4998 4998  
4999   - if ($scope.isTBDrawnOnBodyRegion == false) {
5000   - $scope.layerNumber = $scope.layerNumber + 1;
5001   - }
5002   -
5003 4999 if (tCanvasHeight != $scope.transparencyCanvasHeight || tCanvasWidth != $scope.transparencyCanvasWidth) {
5004 5000  
5005 5001  
... ... @@ -5066,7 +5062,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
5066 5062  
5067 5063 if (TBStartX <= bodyRegionRight && value.X <= TBRight && TBStartY <= bodyRegionBottom && value.Y <= TBBottom) {
5068 5064  
5069   -
  5065 + if ($scope.isTBDrawnOnBodyRegion == false) {
  5066 + $scope.layerNumber = $scope.layerNumber + 1;
  5067 + }
5070 5068 $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);
5071 5069 $scope.isTBDrawnOnBodyRegion = true;
5072 5070 }
... ...