Skip to content

Commit

Permalink
✨ refactor: Use getBounds method instead of bounds in IndependentTime…
Browse files Browse the repository at this point in the history
…Context.
  • Loading branch information
ozyx committed Apr 16, 2024
1 parent ef8b353 commit 9de7b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/time/IndependentTimeContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ class IndependentTimeContext extends TimeContext {
this.followTimeContext();

// Emit bounds so that views that are changing context get the upstream bounds
this.emit('bounds', this.bounds());
this.emit('bounds', this.getBounds());
this.emit(TIME_CONTEXT_EVENTS.boundsChanged, this.getBounds());
}

Expand Down

0 comments on commit 9de7b69

Please sign in to comment.