mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
LP-29 inverse PFD opaque handling (was wrong)
This commit is contained in:
parent
1b201455fb
commit
e3379a169b
@ -62,7 +62,7 @@ Item {
|
|||||||
sceneSize: info.sceneSize
|
sceneSize: info.sceneSize
|
||||||
elementName: "info-bg"
|
elementName: "info-bg"
|
||||||
width: parent.width
|
width: parent.width
|
||||||
opacity: opaque ? 0.3 : 1
|
opacity: opaque ? 1 : 0.3
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -452,7 +452,7 @@ Item {
|
|||||||
x: Math.floor(scaledBounds.x * sceneItem.width)
|
x: Math.floor(scaledBounds.x * sceneItem.width)
|
||||||
y: Math.floor(scaledBounds.y * sceneItem.height)
|
y: Math.floor(scaledBounds.y * sceneItem.height)
|
||||||
|
|
||||||
opacity: opaque ? 0.6 : 1
|
opacity: opaque ? 1 : 0.6
|
||||||
|
|
||||||
states: State {
|
states: State {
|
||||||
name: "fading"
|
name: "fading"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user