Adjustments

pull/1960/head
Andi Kanzler 8 months ago
parent 002d3d0b9a
commit 8545249376

@ -273,7 +273,7 @@ gulp.task('apps', gulp.series('dist', function(done) {
files: './dist/**/*',
buildDir: appsDir,
platforms: getPlatforms(),
flavor: 'sdk',
flavor: 'normal',
macIcns: './images/inav.icns',
winIco: './images/inav.ico',
version: get_nw_version(),
@ -727,4 +727,4 @@ gulp.task('watch', function () {
}
});
gulp.task('default', gulp.series('build'));
gulp.task('default', gulp.series('build'));

@ -104,4 +104,4 @@ let FwApproach = function (number, approachAltAsl = 0, landAltAsl = 0, approachD
}
return self;
};
};

@ -89,4 +89,4 @@ let FwApproachCollection = function () {
}
return self;
};
};

3326
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -37,7 +37,7 @@
"jquery-ui-npm": "1.12.0",
"marked": "^0.3.17",
"minimist": "^1.2.0",
"nw": "^0.61.0-sdk",
"nw": "^0.81.0",
"nw-dialog": "^1.0.7",
"openlayers": "^4.6.5",
"plotly": "^1.0.6",
@ -56,4 +56,4 @@
"optionalDependencies": {
"appdmg": "^0.6.2"
}
}
}

@ -641,7 +641,8 @@ TABS.mission_control.initialize = function (callback) {
} else {
direction = wrap_360(bearing - 90);
}
var pos2 = calculate_new_cooridatnes(pos1, direction, settings.fwLoiterRadius * 2.5);
var pos2 = calculate_new_cooridatnes(pos1, direction, Math.max(settings.fwLoiterRadius * 4, settings.fwApproachLength / 2));
paintApproachLine(landCoord, pos2, '#0025a1', layers);
paintApproachLine(pos2, pos1, '#0025a1', layers);

Loading…
Cancel
Save