mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
refactor: remove the final .bounds()
call (#7695)
✨ refactor: Use getBounds method instead of bounds in IndependentTimeContext.
This commit is contained in:
parent
ef8b353d01
commit
5a06b51c5a
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user