Browse Source

Merge pull request #2883 from DonLakeFlyer/ValueSelect

Fix instrument panel value picker
QGC4.4
Lorenz Meier 9 years ago
parent
commit
03ff59ec05
  1. 4
      src/FlightMap/Widgets/InstrumentSwipeView.qml
  2. 3
      src/FlightMap/Widgets/QGCInstrumentWidget.qml

4
src/FlightMap/Widgets/InstrumentSwipeView.qml

@ -17,6 +17,10 @@ Item { @@ -17,6 +17,10 @@ Item {
property real _margins: ScreenTools.defaultFontPixelWidth / 2
function showPicker() {
valuesPage.showPicker()
}
ValuesWidget {
id: valuesPage
width: _root.width

3
src/FlightMap/Widgets/QGCInstrumentWidget.qml

@ -29,6 +29,7 @@ This file is part of the QGROUNDCONTROL project @@ -29,6 +29,7 @@ This file is part of the QGROUNDCONTROL project
import QtQuick 2.4
import QGroundControl 1.0
import QGroundControl.Controls 1.0
import QGroundControl.ScreenTools 1.0
import QGroundControl.FactSystem 1.0
@ -87,6 +88,8 @@ Rectangle { @@ -87,6 +88,8 @@ Rectangle {
opacity: 0.5
width: attitude.width * 0.15
fillMode: Image.PreserveAspectFit
visible: QGroundControl.multiVehicleManager.activeVehicle
MouseArea {
anchors.fill: parent
hoverEnabled: true

Loading…
Cancel
Save