Skip to content

Commit

Permalink
fixes k, mc layout for banana kind
Browse files Browse the repository at this point in the history
onyx-and-iris committed Sep 6, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b2e03aa commit 962b61f
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nvda_voicemeeter/builder.py
Original file line number Diff line number Diff line change
@@ -296,7 +296,7 @@ def add_strip_outputs(layout):
for j in range(self.kind.phys_out + self.kind.virt_out)
]
)
if i == self.kind.phys_in + self.kind.virt_in - 2:
if i == self.kind.phys_in + 1:
layout.append(
[
psg.Button("K", size=(6, 2), key=f"STRIP {i}||MONO"),
4 changes: 2 additions & 2 deletions src/nvda_voicemeeter/window.py
Original file line number Diff line number Diff line change
@@ -506,7 +506,7 @@ def run(self):
case "MONO":
if int(index) < self.kind.phys_in:
actual = param.lower()
elif int(index) == self.kind.phys_in + self.kind.virt_in - 2:
elif int(index) == self.kind.phys_in + 1:
actual = "k"
else:
actual = "mc"
@@ -536,7 +536,7 @@ def run(self):
case "MONO":
if int(index) < self.kind.phys_in:
actual = param.lower()
elif int(index) == self.kind.phys_in + self.kind.virt_in - 2:
elif int(index) == self.kind.phys_in + 1:
actual = "k"
else:
actual = "mc"

0 comments on commit 962b61f

Please sign in to comment.