Commit 6bc0da41e982577d87e177d147cc448875f11083
1 parent
d460ebff
Refs: #7226
Highlight Options > Highlight goes away if we change layers
Showing
1 changed file
with
7 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -2439,7 +2439,13 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | @@ -2439,7 +2439,13 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | ||
2439 | $('#canvasDiv').scrollLeft($scope.imageHorizontlScrollPosition) | 2439 | $('#canvasDiv').scrollLeft($scope.imageHorizontlScrollPosition) |
2440 | $('#canvasDiv').scrollTop($scope.imageVerticalScrollPosition) | 2440 | $('#canvasDiv').scrollTop($scope.imageVerticalScrollPosition) |
2441 | 2441 | ||
2442 | - $timeout(function () { $scope.DisableProgressBar() }, 1000); | 2442 | + if ($scope.isHighlightBodyByBodySystem) { |
2443 | + $timeout(function () { $scope.DisableProgressBar() }, 20000); | ||
2444 | + } | ||
2445 | + else | ||
2446 | + { | ||
2447 | + $timeout(function () { $scope.DisableProgressBar() }, 2000); | ||
2448 | + } | ||
2443 | } | 2449 | } |
2444 | 2450 | ||
2445 | $('#layerChangeSlider').slider("option", "value", parseInt($scope.totalLayers) - parseInt($scope.layerNumber)); | 2451 | $('#layerChangeSlider').slider("option", "value", parseInt($scope.totalLayers) - parseInt($scope.layerNumber)); |