Skip to content

Commit

Permalink
Merge branch 'release/1.13.3' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphiiko committed Jul 13, 2024
2 parents 9c65504 + f48cc8b commit 7b4c962
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Option for the brightness automations based on sleep mode to run on SteamVR launch. This now happens automatically when a HMD is connected.

## [1.13.3]

### Fixed

- Battery level based power automations turning off devices above the threshold
- Certain types of selection in input fields (e.g. Ctrl+A) being blocked

### Changed
- Window titlebar icons

## [1.13.2]

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ export class TurnOffDevicesOnBatteryLevelAutomationService {
case 'Controller':
if (!this.config.turnOffControllers) return;
if (this.config.turnOffControllersOnlyDuringSleepMode && !sleepMode) return;
if (currentLevel > this.config.turnOffControllersAtLevel) return;
if (currentLevel * 100 > this.config.turnOffControllersAtLevel) return;
threshold = this.config.turnOffControllersAtLevel;
break;
case 'GenericTracker':
if (!this.config.turnOffTrackers) return;
if (this.config.turnOffTrackersOnlyDuringSleepMode && !sleepMode) return;
if (currentLevel > this.config.turnOffTrackersAtLevel) return;
if (currentLevel * 100 > this.config.turnOffTrackersAtLevel) return;
threshold = this.config.turnOffTrackersAtLevel;
break;
default:
Expand Down

0 comments on commit 7b4c962

Please sign in to comment.