Mixer: limiter as glowing LIM text instead of a bar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-02 17:55:00 +01:00
1 parent fe24b620bf
commit 9e2636c6d6
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -908,7 +908,7 @@ function strip(d, kind, i) {
el.append( el.append(
h("button", { class: "strip-head", onclick: () => openChannel(kind, i), title: t("Edit channel") }, h("button", { class: "strip-head", onclick: () => openChannel(kind, i), title: t("Edit channel") },
h("span", { class: "kind" }, chLabel(kind, i), linkBadge(d, kind, i), polBadge(d, kind, i)), h("span", { class: "nm" }, ch.name || " "), h("span", { class: "kind" }, chLabel(kind, i), linkBadge(d, kind, i), polBadge(d, kind, i)), h("span", { class: "nm" }, ch.name || " "),
kind === "out" ? limLed(d.id, i) : h("span", { class: "limled ph", "aria-hidden": "true" })), // keeps faders level with the outputs kind === "out" ? limLed(d.id, i, "txt") : h("span", { class: "limled txt ph", "aria-hidden": "true" }, "LIM")), // keeps faders level with the outputs
h("div", { class: "faderbox" }, ledMeter(d.id, kind, i), f), h("div", { class: "faderbox" }, ledMeter(d.id, kind, i), f),
db, db,
toggleBtn("MUTE", kind, i, "mute", "mute", v => el.classList.toggle("muted", v))); toggleBtn("MUTE", kind, i, "mute", "mute", v => el.classList.toggle("muted", v)));
+3
View File
@@ -467,6 +467,9 @@ body.locked #statusbar :is(button, select):not([data-view-ok]) { cursor: not-all
.limled { flex: none; display: block; width: 34px; height: 4px; margin-top: 3px; border-radius: 1px; .limled { flex: none; display: block; width: 34px; height: 4px; margin-top: 3px; border-radius: 1px;
background: color-mix(in srgb, var(--led-o) 16%, transparent); transition: background .08s, box-shadow .08s; } background: color-mix(in srgb, var(--led-o) 16%, transparent); transition: background .08s, box-shadow .08s; }
.limled.ph { visibility: hidden; } .limled.ph { visibility: hidden; }
.limled.txt { width: auto; height: auto; margin: 1px 0 0; background: none; font-size: 9px; line-height: 11px; font-weight: 800; letter-spacing: .08em;
color: color-mix(in srgb, var(--led-o) 22%, transparent); transition: color .08s; }
.limled.txt.on { background: none; box-shadow: none; color: var(--led-o); text-shadow: 0 0 5px color-mix(in srgb, var(--led-o) 55%, transparent); }
.limled.on { background: var(--led-o); box-shadow: 0 0 6px var(--led-o), 0 0 2px var(--led-o); } .limled.on { background: var(--led-o); box-shadow: 0 0 6px var(--led-o), 0 0 2px var(--led-o); }
.limled.h { width: auto; height: auto; margin: 0; padding: 2px 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; .limled.h { width: auto; height: auto; margin: 0; padding: 2px 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em;
color: color-mix(in srgb, var(--led-o) 45%, transparent); } color: color-mix(in srgb, var(--led-o) 45%, transparent); }