From 9d8ea5f7471509d0edf933148861eb4719f5097b Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 23 Sep 2023 17:04:33 +0100 Subject: [PATCH] fixes regression, bus focus in/out readded patch bump --- pyproject.toml | 2 +- src/nvda_voicemeeter/window.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 866e0aa..3f32e04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nvda_voicemeeter" -version = "0.4.0" +version = "0.4.1" description = "A Voicemeeter app compatible with NVDA" authors = [ { name = "onyx-and-iris", email = "code@onyxandiris.online" }, diff --git a/src/nvda_voicemeeter/window.py b/src/nvda_voicemeeter/window.py index 8781a5d..42a0215 100644 --- a/src/nvda_voicemeeter/window.py +++ b/src/nvda_voicemeeter/window.py @@ -270,6 +270,8 @@ class NVDAVMWindow(psg.Window): # Bus Sliders for i in range(self.kind.num_bus): + self[f"BUS {i}||SLIDER GAIN"].bind("", "||FOCUS IN") + self[f"BUS {i}||SLIDER GAIN"].bind("", "||FOCUS OUT") for event in ("KeyPress", "KeyRelease"): event_id = event.removeprefix("Key").upper() for direction in ("Left", "Right", "Up", "Down"):