Commit 49d6bfcf8a7978e3f258d827e30c3d92095c1814

Authored by Nikita Kulshreshtha
1 parent 3c61c0a8

scroll positionn is at right place on zoom click

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -2565,6 +2565,11 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
2565 2565 }
2566 2566  
2567 2567 $scope.CalculateImageCordinates($scope.viewOrientationId);
  2568 + if($scope.zoomInOut==25)
  2569 + $('#canvasDiv').scrollLeft(0)
  2570 + else
  2571 + $('#canvasDiv').scrollLeft($('#canvasDiv').width() / 2)
  2572 +
2568 2573  
2569 2574 }
2570 2575  
... ...