diff --git a/CHANGELOG.md b/CHANGELOG.md index f0525e39..667a3077 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,24 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [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 + ## [1.13.2] ### Fixed + - The status message not updating when the visibility remained the same - The status message not setting to an empty value ## [1.13.1] ### Fixed + - Some modals automatically closing right after opening them - Some modals being rendered incorrectly diff --git a/package.json b/package.json index eeb34a5c..91740d8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oyasumi", - "version": "1.13.2", + "version": "1.13.3", "author": "Raphiiko", "license": "MIT", "type": "module", diff --git a/src-core/Cargo.lock b/src-core/Cargo.lock index 81bd83b9..e139f81b 100644 --- a/src-core/Cargo.lock +++ b/src-core/Cargo.lock @@ -3860,7 +3860,7 @@ dependencies = [ [[package]] name = "oyasumivr" -version = "1.13.2" +version = "1.13.3" dependencies = [ "async-recursion", "bluest", @@ -3930,7 +3930,7 @@ dependencies = [ [[package]] name = "oyasumivr-shared" -version = "1.13.2" +version = "1.13.3" dependencies = [ "winapi", ] diff --git a/src-core/Cargo.toml b/src-core/Cargo.toml index b7d099a5..7074441f 100644 --- a/src-core/Cargo.toml +++ b/src-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr" -version = "1.13.2" +version = "1.13.3" description = "" authors = ["Raphiiko"] license = "MIT" diff --git a/src-core/tauri.conf.json b/src-core/tauri.conf.json index 01b10123..98aee416 100644 --- a/src-core/tauri.conf.json +++ b/src-core/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "OyasumiVR", - "version": "1.13.2" + "version": "1.13.3" }, "tauri": { "allowlist": { @@ -201,7 +201,7 @@ "center": true, "theme": "Dark", "transparent": true, - "userAgent": "OyasumiVR/1.13.2 (https://github.com/Raphiiko/OyasumiVR)" + "userAgent": "OyasumiVR/1.13.3 (https://github.com/Raphiiko/OyasumiVR)" }, { "width": 700, @@ -216,7 +216,7 @@ "skipTaskbar": true, "minimizable": false, "alwaysOnTop": true, - "userAgent": "OyasumiVR/1.13.2 (https://github.com/Raphiiko/OyasumiVR)" + "userAgent": "OyasumiVR/1.13.3 (https://github.com/Raphiiko/OyasumiVR)" } ] } diff --git a/src-elevated-sidecar/Cargo.toml b/src-elevated-sidecar/Cargo.toml index 1f9262ac..5ebc180e 100644 --- a/src-elevated-sidecar/Cargo.toml +++ b/src-elevated-sidecar/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr-elevated-sidecar" -version = "1.13.2" +version = "1.13.3" authors = ["Raphiiko"] license = "MIT" edition = "2021" diff --git a/src-overlay-ui/package.json b/src-overlay-ui/package.json index 98c23050..6797f7c8 100644 --- a/src-overlay-ui/package.json +++ b/src-overlay-ui/package.json @@ -1,6 +1,6 @@ { "name": "oyasumivr-overlay-ui", - "version": "1.13.2", + "version": "1.13.3", "private": true, "scripts": { "dev": "vite dev", diff --git a/src-shared-rust/Cargo.toml b/src-shared-rust/Cargo.toml index bcc726bf..1d1c91ea 100644 --- a/src-shared-rust/Cargo.toml +++ b/src-shared-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr-shared" -version = "1.13.2" +version = "1.13.3" authors = ["Raphiiko"] edition = "2021" license = "MIT" diff --git a/src-shared-ts/package.json b/src-shared-ts/package.json index a9cd7bde..1a21b1e8 100644 --- a/src-shared-ts/package.json +++ b/src-shared-ts/package.json @@ -2,7 +2,7 @@ "name": "src-shared-ts", "description": "Shared typescript code for Oyasumi modules", "scripts": {}, - "version": "1.13.2", + "version": "1.13.3", "author": "Raphiiko", "license": "MIT", "type": "module", diff --git a/src-ui/app/services/power-automations/turn-off-devices-on-battery-level-automation.service.ts b/src-ui/app/services/power-automations/turn-off-devices-on-battery-level-automation.service.ts index bee58c9b..9fc0fd10 100644 --- a/src-ui/app/services/power-automations/turn-off-devices-on-battery-level-automation.service.ts +++ b/src-ui/app/services/power-automations/turn-off-devices-on-battery-level-automation.service.ts @@ -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: diff --git a/src-ui/app/utils/browser-utils.ts b/src-ui/app/utils/browser-utils.ts index 3af79672..74a967ff 100644 --- a/src-ui/app/utils/browser-utils.ts +++ b/src-ui/app/utils/browser-utils.ts @@ -7,13 +7,4 @@ export function disableDefaultContextMenu() { }, { capture: true } ); - - document.addEventListener( - 'selectstart', - (e) => { - e.preventDefault(); - return false; - }, - { capture: true } - ); }