From 2e93d16620142aa983c5c339f99ab454dc50a444 Mon Sep 17 00:00:00 2001 From: nikita Date: Wed, 21 Mar 2018 17:46:40 +0530 Subject: [PATCH] merged Develop --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 76d2775..93c16b7 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -1250,6 +1250,12 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.drawStaticPinsOnImage = function (canvasId, PinId, offsetX1, offsetY1, x, y) { $scope.clickedPins = []; + + var multipliedByValue = 5; + var $ua = navigator.userAgent; + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { + multipliedByValue = 10; + } // if ($scope.isSliderChange == true) { console.log('isSliderrChange') var radial = $('#' + canvasId).createGradient({ @@ -1279,7 +1285,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou visible: true, fillStyle: radial, x: x * $scope.sliderPercentValue, y: y * $scope.sliderPercentValue, - radius: 5 * $scope.sliderPercentValue, + radius: multipliedByValue * $scope.sliderPercentValue, click: function (clickedPin) { -- libgit2 0.21.4