|
|
|
@ -73,15 +73,7 @@ Item {
@@ -73,15 +73,7 @@ Item {
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
// Note: We currently show alternate instruments all the time. This is a trial change for daily builds. |
|
|
|
|
// Leaving non-alternate code in for now in case the trial fails. |
|
|
|
|
var useAlternateInstruments = true//QGroundControl.settingsManager.appSettings.virtualJoystick.value || ScreenTools.isTinyScreen |
|
|
|
|
if(useAlternateInstruments) { |
|
|
|
|
instrumentsLoader.source = "qrc:/qml/QGCInstrumentWidgetAlternate.qml" |
|
|
|
|
} else { |
|
|
|
|
instrumentsLoader.source = "qrc:/qml/QGCInstrumentWidget.qml" |
|
|
|
|
instrumentsLoader.state = QGroundControl.settingsManager.appSettings.showLargeCompass.value === 1 ? "centerRightMode" : "topRightMode" |
|
|
|
|
} |
|
|
|
|
instrumentsLoader.source = "qrc:/qml/QGCInstrumentWidgetAlternate.qml" |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
instrumentsLoader.source = "" |
|
|
|
|