Commit 9c7a81b2 authored by Patrick José Pereira's avatar Patrick José Pereira

Survey: Change wind rose to work only in desktop

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 4a4ecf18
......@@ -442,7 +442,7 @@ Rectangle {
id: windRoseButton
anchors.verticalCenter: angleText.verticalCenter
iconSource: qgcPal.globalTheme === QGCPalette.Light ? "/res/wind-roseBlack.svg" : "/res/wind-rose.svg"
visible: _vehicle.fixedWing
visible: _vehicle.fixedWing && !ScreenTools.isMobile
onClicked: {
var cords = windRoseButton.mapToItem(_root, 0, 0)
......@@ -547,7 +547,7 @@ Rectangle {
anchors.verticalCenter: manualAngleText.verticalCenter
Layout.columnSpan: 1
iconSource: qgcPal.globalTheme === QGCPalette.Light ? "/res/wind-roseBlack.svg" : "/res/wind-rose.svg"
visible: _vehicle.fixedWing
visible: _vehicle.fixedWing && !ScreenTools.isMobile
onClicked: {
var cords = manualWindRoseButton.mapToItem(_root, 0, 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment