mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
GCS- Fixes from Dmytro to new PFD qml file.
This commit is contained in:
parent
4f2522cd0a
commit
faee578010
@ -32,9 +32,13 @@ Rectangle {
|
||||
source: "image://svg/pfd.svg!rollscale"
|
||||
sourceSize: background.sourceSize
|
||||
smooth: true
|
||||
|
||||
transformOrigin: Item.Center
|
||||
rotation: -AttitudeActual.Roll
|
||||
anchors.centerIn: parent
|
||||
//rotate it around the center of scene
|
||||
transform: Rotation {
|
||||
angle: -AttitudeActual.Roll
|
||||
origin.x : sceneItem.width/2 - x
|
||||
origin.y : sceneItem.height/2 - y
|
||||
}
|
||||
}
|
||||
|
||||
Image {
|
||||
|
Loading…
x
Reference in New Issue
Block a user