mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
Fix code to remove warnings in conductor (#2192)
This commit is contained in:
parent
d48cc2deee
commit
c3b7e7869e
@ -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)">
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user