refactor: remove the final .bounds() call (#7695)

 refactor: Use getBounds method instead of bounds in IndependentTimeContext.
This commit is contained in:
Jesse Mazzella 2024-04-17 09:19:21 -07:00 committed by GitHub
parent ef8b353d01
commit 5a06b51c5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());
}