Limiter tab: limiter LED dot next to the Channel button
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9e2636c6d6
commit
a02e5dd53e
2 files changed
+5
-2
No files matched your search
+2
-2
@@ -553,7 +553,7 @@ const limitOn = new Map(); // "dev|idx" -> time it was last reported active
|
||||
let limEls = [];
|
||||
const LIM_HOLD = 300; // ms an LED stays lit, so short hits are visible
|
||||
const limLed = (devId, i, cls = "") => h("span", { class: "limled " + cls, "data-lim": `${devId}|${i}`, title: t("Limiter active"), "aria-hidden": "true" },
|
||||
cls ? "LIM" : null);
|
||||
cls && cls !== "dot" ? "LIM" : null);
|
||||
|
||||
function updateMeters(ev) {
|
||||
for (const kind of ["in", "out"])
|
||||
@@ -1898,7 +1898,7 @@ function limiterCard(d, o) {
|
||||
] : [];
|
||||
|
||||
const card = h("div", { class: "card limcard" },
|
||||
h("h3", {}, h("span", { class: "grow" }, chTitle(d, "out", o)), ledMeter(d.id, "out", o, "h"),
|
||||
h("h3", {}, h("span", { class: "grow" }, chTitle(d, "out", o)), ledMeter(d.id, "out", o, "h"), limLed(d.id, o, "dot"),
|
||||
h("button", { class: "small", onclick: () => openChannel("out", o) }, t("Channel"))),
|
||||
res,
|
||||
h("div", { class: "limgrid" },
|
||||
|
||||
Reference in new issue
Block a user