refactor: graph to use a set of points instead of taking the whole dsp oobject

This commit is contained in:
2026-08-31 20:14:07 +02:00
parent 21728b5e6d
commit 75ac349790
13 changed files with 717 additions and 823 deletions
@@ -103,3 +103,52 @@
flex: 1;
min-height: 0;
}
.gain-graph-title-row {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1cqh;
padding: 1cqh 1.5cqh;
flex-wrap: wrap;
}
.gain-graph-title-row .gain-graph-title {
padding: 0;
}
.magnitude-selector {
display: flex;
flex-wrap: wrap;
gap: 0.5cqh;
}
.magnitude-selector__chip {
display: flex;
align-items: center;
gap: 0.6cqh;
font-family: var(--font-ui);
font-size: 1.8cqh;
padding: 0.4cqh 1cqh;
background: var(--bg-void);
color: var(--text-muted);
border: var(--border-width) solid var(--border-hairline);
border-radius: var(--radius-sm);
cursor: pointer;
opacity: 0.5;
}
.magnitude-selector__chip.active {
opacity: 1;
color: var(--text-primary);
border-color: var(--chip-color);
}
.magnitude-selector__swatch {
width: 1.2cqh;
height: 1.2cqh;
border-radius: 50%;
background: var(--chip-color);
flex: 0 0 auto;
}