Skip to content

Commit

Permalink
Fixed "too late: already running" error when choosing a year as the y…
Browse files Browse the repository at this point in the history
…ear is being incremented
  • Loading branch information
raja-s committed Mar 3, 2024
1 parent 75e35cc commit 324df75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vis/timeline/time-indicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ function updateTimeIndicator() {
const Y = TIMELINE_MARGINS.TOP + TIMELINE_CHART_DIMENSIONS.HEIGHT -
presentFrequencyBar.height.baseVal.value - TIME_HANDLE_HEIGHT - 2;

timeIndicator.interrupt();

timeIndicator.transition(TIME_INDICATOR_TRANSITION)
.attr('transform', `translate(${X}, ${Y})`);

Expand Down

0 comments on commit 324df75

Please sign in to comment.