fix bug where a bus level may hang,

reproducible through toggling composite mode

I haven't noticed it occuring for strips.

patch bump
This commit is contained in:
onyx-and-iris 2022-07-14 17:24:05 +01:00
parent 2522505a89
commit 520adc0a02
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "voicemeeter-compact"
version = "1.0.11"
version = "1.0.12"
description = "A Compact Voicemeeter Remote App"
authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT"

View File

@ -189,7 +189,7 @@ class Bus(ChannelLabelFrame):
def upd_levels(self):
if self.index < self.parent.parent.kind.num_bus:
if self.target.levels.is_updated:
if self.target.levels.is_updated or self.level.get() != -118:
val = max(self.target.levels.all)
self.level.set((0 if self.mute.get() else 100 + val - 18))