mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 00:05:19 +03:00
Fixes
This commit is contained in:
parent
1fe04df9c5
commit
abc3fa5606
2 changed files with 4 additions and 5 deletions
|
@ -1611,12 +1611,12 @@ var mspHelper = (function () {
|
|||
data.getUint8(1),
|
||||
data.getUint8(2),
|
||||
data.getInt32(3, true),
|
||||
data.getInt32(4, true),
|
||||
data.getInt32(7, true),
|
||||
data.getUint8(11),
|
||||
0,
|
||||
data.getInt8(12, true),
|
||||
null,
|
||||
data.getUint8(14, true),
|
||||
data.getUint8(0, true),
|
||||
);
|
||||
let verticesCount = data.getUint8(13, true);
|
||||
if (verticesCount == 0) {
|
||||
|
|
|
@ -31,7 +31,6 @@ const Plotly = require('./../js/libraries/plotly-latest.min');
|
|||
const interval = require('./../js/intervals');
|
||||
const { Geozone, GeozoneVertex, GeozoneType, GeozoneShapes, GeozoneFenceAction } = require('./../js/geozone');
|
||||
const GeozoneCollection = require('./../js/geozoneCollection');
|
||||
const { event } = require('jquery');
|
||||
|
||||
var MAX_NEG_FW_LAND_ALT = -2000; // cm
|
||||
|
||||
|
@ -3429,8 +3428,8 @@ TABS.mission_control.initialize = function (callback) {
|
|||
});
|
||||
|
||||
$('#geozoneSeaLevelRef').on('change', event => {
|
||||
if (selectedGeozone) {
|
||||
const isChecked = $(event.currentTarget).prop('checked') ? 1 : 0;
|
||||
if (selectedGeozone && isChecked != selectedGeozone.getSealevelRef()) {
|
||||
selectedGeozone.setSealevelRef(isChecked);
|
||||
(async () => {
|
||||
const vertex = selectedGeozone.getVertex(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue