athmos display been bugfixed and can now be switched by the knobs display

This commit is contained in:
SallarShayegan
2025-04-08 16:03:58 +02:00
parent bfd5b41e93
commit 8f9e5257f6
3 changed files with 19 additions and 11 deletions

View File

@ -48,6 +48,7 @@ class GuiMain:
self.knobs.append(Knobs(self))
self.set_fx_mode(self.fx_mode)
self.show_knobs = True
self.mute_button = BinaryButton(
self.screen,
@ -86,6 +87,10 @@ class GuiMain:
for b in self.fx_mode_buttons:
b.focused = (b.name == mode)
def show_athmos(self, show=True):
self.athmos.show_list = show
self.show_knobs = not show
def set_athmo_index(self, index):
self.athmos.index = index