1
0
Fork 0

Fix #2759: normalize GPS bearing in dialog

This commit is contained in:
Gijs de Rooy 2024-01-23 15:47:36 +01:00
parent 096aad963a
commit 1dc80d2386

View file

@ -73,7 +73,7 @@
}
dlg.getNode("scratch-mag-bearing-deg", 1).setValue(cd[0] - magvar());
dlg.getNode("scratch-mag-bearing-deg", 1).setValue(geo.normdeg(cd[0] - magvar()));
dlg.getNode("scratch-distance-nm", 1).setValue(cd[1]);
gui.dialog_update("gps");