1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

fix some pfd paths

This commit is contained in:
James Duley 2016-01-15 23:00:03 +00:00
parent 0deb1c88b8
commit 6dd13bc698

View File

@ -16,8 +16,8 @@ Item {
width: Math.round(sceneItem.width * scaledBounds.width / 2) * 2
height: Math.round(sceneItem.height * scaledBounds.height / 2) * 3
property double pitch1DegScaledHeight: ((svgRenderer.scaledElementBounds("pfd.svg", "pitch-90").y -
svgRenderer.scaledElementBounds("pfd.svg", "pitch90").y) * 1.03) / 180.0
property double pitch1DegScaledHeight: ((svgRenderer.scaledElementBounds("pfd/pfd.svg", "pitch-90").y -
svgRenderer.scaledElementBounds("pfd/pfd.svg", "pitch90").y) * 1.03) / 180.0
property double pitch1DegHeight: sceneItem.height*pitch1DegScaledHeight