mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2026-04-18 05:23:31 +00:00
fix app title.
merge subject classes. modify obsevers callback ensure sunvalley theme loaded only once. minor version bump
This commit is contained in:
@@ -16,7 +16,7 @@ class Config(ttk.Frame):
|
||||
self.phys_in, self.virt_in = parent.kind.ins
|
||||
self.phys_out, self.virt_out = parent.kind.outs
|
||||
|
||||
self.parent.subject_pdirty.add(self)
|
||||
self.parent.subject.add(self)
|
||||
|
||||
@property
|
||||
def identifier(self):
|
||||
@@ -68,10 +68,10 @@ class Config(ttk.Frame):
|
||||
f"{param}.TButton", background=f'{"green" if val else "white"}'
|
||||
)
|
||||
|
||||
def on_update(self):
|
||||
def on_update(self, subject):
|
||||
"""update parameters"""
|
||||
|
||||
self.after(_base_values.pdelay, self.sync)
|
||||
if subject == "pdirty":
|
||||
self.after(_base_values.pdelay, self.sync)
|
||||
|
||||
|
||||
class StripConfig(Config):
|
||||
|
||||
Reference in New Issue
Block a user