Commit 49f3be7b901d50fa6ae5e90f2b6000c61faf830c

Authored by Nikita Kulshreshtha
1 parent d41d5974

increased the head size for mobile devices

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -1250,6 +1250,12 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
1250 1250  
1251 1251 $scope.drawStaticPinsOnImage = function (canvasId, PinId, offsetX1, offsetY1, x, y) {
1252 1252 $scope.clickedPins = [];
  1253 +
  1254 + var multipliedByValue = 5;
  1255 + var $ua = navigator.userAgent;
  1256 + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) {
  1257 + multipliedByValue = 10;
  1258 + }
1253 1259 // if ($scope.isSliderChange == true) {
1254 1260 console.log('isSliderrChange')
1255 1261 var radial = $('#' + canvasId).createGradient({
... ... @@ -1279,7 +1285,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
1279 1285 visible: true,
1280 1286 fillStyle: radial,
1281 1287 x: x * $scope.sliderPercentValue, y: y * $scope.sliderPercentValue,
1282   - radius: 5 * $scope.sliderPercentValue,
  1288 + radius: multipliedByValue * $scope.sliderPercentValue,
1283 1289  
1284 1290 click: function (clickedPin) {
1285 1291  
... ...