mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
Changed default duration to fifteen minutes
This commit is contained in:
parent
088416905d
commit
97f3fd516b
@ -24,7 +24,7 @@ define(
|
||||
[],
|
||||
function () {
|
||||
|
||||
var SIX_HOURS = 6 * 60 * 60 * 1000;
|
||||
var FIFTEEN_MINUTES = 15 * 60 * 1000;
|
||||
|
||||
function TimeConductorController($scope, $timeout, conductor) {
|
||||
var self = this;
|
||||
@ -102,7 +102,7 @@ define(
|
||||
TimeConductorController.prototype.initialize = function () {
|
||||
var now = Math.ceil(Date.now() / 1000) * 1000;
|
||||
//Set the time conductor to some default
|
||||
this.conductor.bounds({start: now - SIX_HOURS, end: now});
|
||||
this.conductor.bounds({start: now - FIFTEEN_MINUTES, end: now});
|
||||
|
||||
this.$scope.modeModel.selected = 'fixed';
|
||||
this.conductor.follow(false);
|
||||
|
Loading…
Reference in New Issue
Block a user