Ssbugs, removal of re-vive, and dashboard loop tick (#277)
* minor changes * debugging testing * removed un-needed log calls * moved some logic to run only when dashboard is active * fixed linker error * added casting * removed revive tab * removed stray revive reference * removed revive from sources * fixed misc formatting issues * added newline
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -103,18 +103,6 @@ MyStackViewPage {
|
||||
}
|
||||
}
|
||||
|
||||
MyPushButton {
|
||||
id: reviveButton
|
||||
activationSoundEnabled: false
|
||||
text: "Revive"
|
||||
Layout.fillWidth: true
|
||||
visible: SettingsTabController.forceRevivePage ? true : ReviveTabController.isOverlayInstalled
|
||||
onClicked: {
|
||||
MyResources.playFocusChangedSound()
|
||||
mainView.push(revivePage)
|
||||
}
|
||||
}
|
||||
|
||||
MyPushButton {
|
||||
id: utilitiesButton
|
||||
activationSoundEnabled: false
|
||||
@@ -467,12 +455,6 @@ MyStackViewPage {
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: SettingsTabController
|
||||
onForceRevivePageChanged: {
|
||||
reviveButton.visible = SettingsTabController.forceRevivePage ? true : ReviveTabController.isOverlayInstalled
|
||||
}
|
||||
}
|
||||
|
||||
function updateStatistics() {
|
||||
var rotations = StatisticsTabController.hmdRotations
|
||||
|
||||
@@ -18,14 +18,6 @@ MyStackViewPage {
|
||||
}
|
||||
}
|
||||
|
||||
MyToggleButton {
|
||||
id: forceReviveToggle
|
||||
text: "Force Revive Page"
|
||||
onCheckedChanged: {
|
||||
SettingsTabController.setForceRevivePage(checked, true)
|
||||
}
|
||||
}
|
||||
|
||||
MyToggleButton {
|
||||
id: allowExternalEditsToggle
|
||||
text: "Allow External App Chaperone Edits (Danger)"
|
||||
@@ -111,7 +103,6 @@ MyStackViewPage {
|
||||
|
||||
Component.onCompleted: {
|
||||
settingsAutoStartToggle.checked = SettingsTabController.autoStartEnabled
|
||||
forceReviveToggle.checked = SettingsTabController.forceRevivePage
|
||||
|
||||
allowExternalEditsToggle.checked = MoveCenterTabController.allowExternalEdits
|
||||
oldStyleMotionToggle.checked = MoveCenterTabController.oldStyleMotion
|
||||
@@ -129,9 +120,6 @@ MyStackViewPage {
|
||||
onAutoStartEnabledChanged: {
|
||||
settingsAutoStartToggle.checked = SettingsTabController.autoStartEnabled
|
||||
}
|
||||
onForceRevivePageChanged: {
|
||||
forceReviveToggle.checked = SettingsTabController.forceRevivePage
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
||||
@@ -200,12 +200,10 @@ MyStackViewPage {
|
||||
value: 1.0
|
||||
snapMode: Slider.SnapAlways
|
||||
Layout.fillWidth: true
|
||||
onPositionChanged: {
|
||||
var val = this.from + ( this.position * (this.to - this.from))
|
||||
steamvrSupersamplingText.text = val.toFixed(1)
|
||||
}
|
||||
onValueChanged: {
|
||||
SteamVRTabController.setSuperSampling(this.value.toFixed(1), false)
|
||||
var val = this.value
|
||||
steamvrSupersamplingText.text = val.toFixed(1)
|
||||
SteamVRTabController.setSuperSampling(this.value.toFixed(1), true)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -244,9 +242,11 @@ MyStackViewPage {
|
||||
}
|
||||
MyToggleButton {
|
||||
id: steamvrAllowSupersampleOverrideToggle
|
||||
text: "Enable Manual Supersampling Override"
|
||||
text: "Enable Manual Supersampling Override: (refresh dashboard to take effect)"
|
||||
onCheckedChanged: {
|
||||
SteamVRTabController.setAllowSupersampleOverride(this.checked, false)
|
||||
SteamVRTabController.setSuperSampling(steamvrSupersamplingSlider.value, true)
|
||||
steamvrSupersamplingText.text = SteamVRTabController.superSampling.toFixed(1)
|
||||
if(!this.checked){
|
||||
steamvrSupersamplingText.enabled = false
|
||||
steamvrSupersamplingSlider.enabled = false
|
||||
@@ -333,13 +333,14 @@ MyStackViewPage {
|
||||
target: SteamVRTabController
|
||||
onSuperSamplingChanged: {
|
||||
var s1 = SteamVRTabController.superSampling.toFixed(1)
|
||||
if (s1 <= steamvrSupersamplingSlider.to && Math.abs(steamvrSupersamplingSlider.value-s1) > 0.08) {
|
||||
steamvrSupersamplingSlider.value = s1
|
||||
}
|
||||
steamvrSupersamplingSlider.value = s1
|
||||
steamvrSupersamplingText.text = s1
|
||||
}
|
||||
onAllowSupersampleOverrideChanged: {
|
||||
steamvrAllowSupersampleOverrideToggle.checked = SteamVRTabController.allowSupersampleOverride
|
||||
var s1 = SteamVRTabController.superSampling.toFixed(1)
|
||||
steamvrSupersamplingSlider.value = s1
|
||||
steamvrSupersamplingText.text = s1
|
||||
}
|
||||
onAllowSupersampleFilteringChanged: {
|
||||
steamvrAllowSupersampleFilteringToggle.checked = SteamVRTabController.allowSupersampleFiltering
|
||||
|
||||
@@ -64,11 +64,6 @@ Rectangle {
|
||||
visible: false
|
||||
}
|
||||
|
||||
property RevivePage revivePage: RevivePage {
|
||||
stackView: mainView
|
||||
visible: false
|
||||
}
|
||||
|
||||
property UtilitiesPage utilitiesPage: UtilitiesPage {
|
||||
stackView: mainView
|
||||
visible: false
|
||||
|
||||
Reference in New Issue
Block a user