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

Merge pull request #859 from iNavFlight/dzikuvx-fix-open-dialog

Fix file open dialog in mission planner
This commit is contained in:
Paweł Spychalski 2019-11-20 17:25:38 +01:00 committed by GitHub
commit 7628f3f7d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -354,8 +354,10 @@ TABS.mission_control.initialize = function (callback) {
}
});
//reset text position
if (textGeom) {
textGeom.setCoordinates(map.getCoordinateFromPixel([0,0]));
}
}
function paintLine(pos1, pos2) {
var line = new ol.geom.LineString([pos1, pos2]);