Fix overlay toggling, rework phase view, lock the app during the audio test
- overlay chips read the stored selection on every click (second click hides again) - phase view: points keep their gain position and can be dragged in both directions, phase wraps are drawn as vertical lines like the original software, selected band shows Q / frequency / gain next to its point - audio test: other tabs, settings and device switching are locked until the analog input is back; the server only accepts the test controls meanwhile - test fader value has a fixed width and normal weight (meters no longer shift) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ae9a20fdf8
commit
96640c5bff
5 files changed
+51
-16
No files matched your search
@@ -523,7 +523,9 @@ class App:
|
||||
action = "/".join(g for g in m.groups()[1:] if g)
|
||||
if dev.demo and (method in ("DELETE", "PUT") or action in ("unlock", "lockcode")):
|
||||
raise RuntimeError("Not available for the demo device")
|
||||
if dev.test_active and action in ("preset/recall", "preset/store", "export", "import", "undo"):
|
||||
# during the audio test only the test controls work: generator, test fader, output mutes
|
||||
if dev.test_active and (action in ("preset/recall", "preset/store", "export", "import", "undo", "link")
|
||||
or action == "set" and body.get("param") != "mute"):
|
||||
raise RuntimeError("Audio test is on – switch it off first")
|
||||
if self.demo["enabled"] and not dev.demo and action == "connect":
|
||||
raise RuntimeError("Demo mode is on – switch it off to connect the real DSPs")
|
||||
|
||||
Reference in new issue
Block a user