mirror of
https://github.com/nasa/openmct.git
synced 2025-04-18 16:17:48 +00:00
switch to reactive formatter for zoom
This commit is contained in:
parent
0254367cd5
commit
0cbdbc6807
@ -194,8 +194,8 @@ export default {
|
||||
this.isZooming = false;
|
||||
} else {
|
||||
this.isZooming = true;
|
||||
this.formattedBounds.start = this.timeFormatter.format(bounds.start);
|
||||
this.formattedBounds.end = this.timeFormatter.format(bounds.end);
|
||||
this.formattedBounds.start = this.timeSystemFormatter.format(bounds.start);
|
||||
this.formattedBounds.end = this.timeSystemFormatter.format(bounds.end);
|
||||
}
|
||||
},
|
||||
endZoom(bounds) {
|
||||
@ -207,8 +207,6 @@ export default {
|
||||
}
|
||||
},
|
||||
setViewBounds(bounds) {
|
||||
// this.formattedBounds.start = this.timeFormatter.format(bounds.start);
|
||||
// this.formattedBounds.end = this.timeFormatter.format(bounds.end);
|
||||
this.viewBounds.start = bounds.start;
|
||||
this.viewBounds.end = bounds.end;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user