Commit a7f89312d9627321f8d5fb73c20461b18f5bf561

Authored by Nikita Kulshreshtha
1 parent 472ca016

modesty image is set in all cases for both gender.

Need o work on transparency and z index for resizable
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -4066,7 +4066,11 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
4066 4066  
4067 4067 HeightforTransImage = Height;
4068 4068 //alert('Y ' + Y)
4069   - YforTransImage = parseFloat(Y) - parseInt(TransparencyBoxStartY)//parseFloat(Y) - (24.4);
  4069 + if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) {
  4070 + YforTransImage = 0;
  4071 + }
  4072 + else
  4073 + YforTransImage = parseFloat(Y) - parseInt(TransparencyBoxStartY)//parseFloat(Y) - (24.4);
4070 4074 // alert('5')
4071 4075 }
4072 4076 else if (TransparencyBoxStartY < Y && TransparencyBoxEndY < (parseInt(Y) + parseInt(Height))) {
... ... @@ -4076,6 +4080,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
4076 4080  
4077 4081 HeightforTransImage = (parseInt(TransparencyBoxEndY)) - parseInt(Y)// - parseInt(scope.TransparencyBoxStartY));
4078 4082  
  4083 + if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) {
  4084 + YforTransImage = 0;
  4085 + }
  4086 + else
4079 4087 YforTransImage = parseFloat(Y) - parseInt(TransparencyBoxStartY);// - (24.4);
4080 4088  
4081 4089 }
... ...