mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2026-04-13 11:03:31 +00:00
use {Bus}.mode.get() to fetch current bus mode
vban-cmd dep bump patch bump
This commit is contained in:
@@ -241,9 +241,7 @@ class BusConfig(Config):
|
||||
self.builder.create_param_buttons()
|
||||
|
||||
def current_bus_mode(self):
|
||||
for mode in self.bus_modes:
|
||||
if getattr(self.target.mode, mode):
|
||||
return mode
|
||||
return self.target.mode.get()
|
||||
|
||||
def rotate_bus_modes_right(self, *args):
|
||||
current_mode = self.current_bus_mode()
|
||||
|
||||
Reference in New Issue
Block a user