Browse Source

Minor formatting fix

QGC4.4
nickexists 8 years ago
parent
commit
eb751017db
  1. 4
      src/FlightMap/FlightMap.qml

4
src/FlightMap/FlightMap.qml

@ -345,7 +345,7 @@ Map { @@ -345,7 +345,7 @@ Map {
var clickCoordinate = _map.toCoordinate(Qt.point(mouse.x, mouse.y))
var polygonPath = polygonDrawerPolygon.path
if(polygonPath.length == 0) {
if (polygonPath.length == 0) {
// Add first coordinate
polygonPath.push(clickCoordinate)
} else {
@ -371,8 +371,6 @@ Map { @@ -371,8 +371,6 @@ Map {
// Update drag line
polygonDrawerNextPoint.path = [ polygonDrawerPolygon.path[polygonDrawerPolygon.path.length - 2], dragCoordinate ]
// Update drag coordinate
polygonPath[polygonDrawerPolygon.path.length - 1] = dragCoordinate
polygonDrawerPolygon.path = polygonPath

Loading…
Cancel
Save