Fix code to remove warnings in conductor (#2192)

This commit is contained in:
Andrew Henry 2018-10-11 11:33:59 -07:00 committed by Pete Richards
parent d48cc2deee
commit c3b7e7869e
2 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,7 @@
*****************************************************************************/
<template>
<div class="c-conductor"
:class="[isFixed ? 'is-fixed-mode' : 'is-realtime-mode', panning ? 'status-panning' : '']">
:class="[isFixed ? 'is-fixed-mode' : 'is-realtime-mode']">
<form class="u-contents" ref="conductorForm"
@submit="isFixed ? setBoundsFromView($event) : setOffsetsFromView($event)">

View File

@ -203,11 +203,10 @@ export default {
let bounds = this.openmct.time.bounds();
let deltaTime = bounds.end - bounds.start;
let newStart = bounds.start - percX * deltaTime;
this.bounds = {
this.$emit('panAxis',{
start: newStart,
end: newStart + deltaTime
};
this.$emit('panAxis', this.bounds);
});
this.dragging = false;
})
} else {