This commit is contained in:
Igor Kulikov 2019-06-27 09:48:05 +03:00
parent 1403ef8f99
commit 775a6e829e

View File

@ -965,8 +965,10 @@ function tripAnimationController($document, $scope, $log, $http, $timeout, $filt
}
}
if (trip && vm.activeTripIndex !== trip.dSIndex) vm.activeTripIndex = trip.dSIndex;
if (vm.trips.length) {
vm.mainTooltip = vm.trips[vm.activeTripIndex].settings.tooltipText;
}
}
function showHidePointTooltip(text, index) {
if (vm.staticSettings.displayTooltip) {