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