1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-21 15:25:19 +03:00

Adjustments

This commit is contained in:
Andi Kanzler 2024-02-10 13:17:58 -03:00
parent 862a43330c
commit 2e29a5a224
6 changed files with 2122 additions and 1402 deletions

View file

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

3509
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -37,7 +37,7 @@
"jquery-ui-npm": "1.12.0", "jquery-ui-npm": "1.12.0",
"marked": "^0.3.17", "marked": "^0.3.17",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"nw": "^0.61.0-sdk", "nw": "^0.81.0",
"nw-dialog": "^1.0.7", "nw-dialog": "^1.0.7",
"openlayers": "^4.6.5", "openlayers": "^4.6.5",
"plotly": "^1.0.6", "plotly": "^1.0.6",

View file

@ -641,7 +641,8 @@ TABS.mission_control.initialize = function (callback) {
} else { } else {
direction = wrap_360(bearing - 90); 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(landCoord, pos2, '#0025a1', layers);
paintApproachLine(pos2, pos1, '#0025a1', layers); paintApproachLine(pos2, pos1, '#0025a1', layers);