fixes regression, bus focus in/out readded

patch bump
This commit is contained in:
onyx-and-iris 2023-09-23 17:04:33 +01:00
parent 0dd6c89f96
commit 9d8ea5f747
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[project] [project]
name = "nvda_voicemeeter" name = "nvda_voicemeeter"
version = "0.4.0" version = "0.4.1"
description = "A Voicemeeter app compatible with NVDA" description = "A Voicemeeter app compatible with NVDA"
authors = [ authors = [
{ name = "onyx-and-iris", email = "code@onyxandiris.online" }, { name = "onyx-and-iris", email = "code@onyxandiris.online" },

View File

@ -270,6 +270,8 @@ class NVDAVMWindow(psg.Window):
# Bus Sliders # Bus Sliders
for i in range(self.kind.num_bus): for i in range(self.kind.num_bus):
self[f"BUS {i}||SLIDER GAIN"].bind("<FocusIn>", "||FOCUS IN")
self[f"BUS {i}||SLIDER GAIN"].bind("<FocusOut>", "||FOCUS OUT")
for event in ("KeyPress", "KeyRelease"): for event in ("KeyPress", "KeyRelease"):
event_id = event.removeprefix("Key").upper() event_id = event.removeprefix("Key").upper()
for direction in ("Left", "Right", "Up", "Down"): for direction in ("Left", "Right", "Up", "Down"):