Skip to content

Commit

Permalink
Removed no-existing properties within ActionsCallbacks.ts (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
c0ldvengeance authored Feb 7, 2024
1 parent 2d8dbb7 commit d813076
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Pages/Widget/ActionsCallbacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export default class ActionsCallbacks {
const action = new ActionSettingVR()
action.settingPreset = OptionSteamVRSettingType.WorldScale
action.setToValue = (currentScale/100.0).toString()
modules.openvr2ws.setSetting(action).then()
modules.openvr2ws.setSetting(action)
DataFileUtils.writeText(fileName, `🌍 ${Math.round(currentScale*100)/100}%`)
currentScale *= multiple
if(currentStep == steps) {
Expand Down Expand Up @@ -325,7 +325,7 @@ export default class ActionsCallbacks {
const action = new ActionSettingVR()
action.settingPreset = OptionSteamVRSettingType.WorldScale
action.setToValue = (value/100.0).toString()
modules.openvr2ws.setSetting(action).then()
modules.openvr2ws.setSetting(action)
}
}
},
Expand All @@ -345,7 +345,7 @@ export default class ActionsCallbacks {
const action = new ActionSettingVR()
action.settingPreset = OptionSteamVRSettingType.HMDAnalogGain
action.setToValue = (value/100.0).toString()
modules.openvr2ws.setSetting(action).then()
modules.openvr2ws.setSetting(action)
}
},

Expand All @@ -364,7 +364,7 @@ export default class ActionsCallbacks {
const action = new ActionSettingVR()
action.settingPreset = OptionSteamVRSettingType.HMDRefreshRate
action.setToValue = value.toString()
modules.openvr2ws.setSetting(action).then()
modules.openvr2ws.setSetting(action)
}
},

Expand All @@ -381,7 +381,7 @@ export default class ActionsCallbacks {
const action = new ActionSettingVR()
action.settingPreset = OptionSteamVRSettingType.MirrorViewEye
action.setToValue = value.toString()
modules.openvr2ws.setSetting(action).then()
modules.openvr2ws.setSetting(action)
}
},
// endregion
Expand Down Expand Up @@ -993,4 +993,4 @@ export default class ActionsCallbacks {
},
// endregion
}
}
}

0 comments on commit d813076

Please sign in to comment.