Optimise PlayspacePage QML, add debug toggle to Settings page

This commit is contained in:
Kung-vr
2019-10-20 18:22:52 +09:00
parent e17e8b64b3
commit 4d81b3bdbd
2 changed files with 37 additions and 17 deletions
+16
View File
@@ -165,6 +165,22 @@ MyStackViewPage {
Layout.fillHeight: true
}
RowLayout {
Layout.fillWidth: true
Item {
Layout.fillWidth: true
}
MyToggleButton {
id: debugToggle
text: "Debug"
onCheckedChanged: {
OverlayController.setEnableDebug(checked, true)
}
}
}
Component.onCompleted: {
settingsAutoStartToggle.checked = SettingsTabController.autoStartEnabled