mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1887 Hide bat tooltips when battery panel not displayed
This commit is contained in:
parent
08536f3a01
commit
a941a1aa04
@ -536,7 +536,8 @@ Item {
|
||||
anchors.fill: parent
|
||||
|
||||
TooltipArea {
|
||||
text: "Reset consumed energy"
|
||||
text: "Reset consumed energy"
|
||||
visible: display_bat == true ? 1 : 0
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
@ -594,7 +595,8 @@ Item {
|
||||
//color: panels.batColors[SystemAlarms.Alarm_Battery]
|
||||
|
||||
TooltipArea {
|
||||
text: "Reset consumed energy"
|
||||
text: "Reset consumed energy"
|
||||
visible: display_bat == true ? 1 : 0
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
Loading…
Reference in New Issue
Block a user