mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2026-04-18 05:23:31 +00:00
run a level update if value > 0 << race condition.
patch bump
This commit is contained in:
@@ -139,8 +139,13 @@ class GainLayer(ttk.LabelFrame):
|
||||
Checks offset against expected level array size to avoid a race condition
|
||||
"""
|
||||
if self.level_offset + 1 < len(self.parent.parent.strip_levels):
|
||||
if any(
|
||||
self.parent.parent.strip_comp[self.level_offset : self.level_offset + 1]
|
||||
if (
|
||||
any(
|
||||
self.parent.parent.strip_comp[
|
||||
self.level_offset : self.level_offset + 1
|
||||
]
|
||||
)
|
||||
or self.level.get() > 0
|
||||
):
|
||||
val = self.convert_level(
|
||||
max(
|
||||
|
||||
Reference in New Issue
Block a user