fix: panel on all pages
This commit is contained in:
@@ -21,14 +21,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.compressor-panels {
|
.compressor-panels {
|
||||||
|
display: grid;
|
||||||
|
grid-auto-flow: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
|
||||||
gap: var(--space-2);
|
gap: var(--space-2);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.compressor-panel {
|
.compressor-panel {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
aspect-ratio: 0.5;
|
aspect-ratio: 0.5;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|||||||
@@ -22,10 +22,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.delay-panels {
|
.delay-panels {
|
||||||
|
display: grid;
|
||||||
|
grid-auto-flow: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
|
||||||
gap: var(--space-2);
|
gap: var(--space-2);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.delay-panel {
|
.delay-panel {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
||||||
height: 40%;
|
height: var(--dsp-control-heigth);
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
|||||||
@@ -139,8 +139,8 @@ function GateSection({ dsp, set_gate }: { dsp: DSP; set_gate: SetGateFn }) {
|
|||||||
<LinearGraph
|
<LinearGraph
|
||||||
xMin={envelope.t0}
|
xMin={envelope.t0}
|
||||||
xMax={envelope.t5}
|
xMax={envelope.t5}
|
||||||
yMin={-90}
|
yMin={-95}
|
||||||
yMax={0}
|
yMax={5}
|
||||||
xLabel="ms"
|
xLabel="ms"
|
||||||
yLabel="dB"
|
yLabel="dB"
|
||||||
formatX={(v) => Math.round(v).toString()}
|
formatX={(v) => Math.round(v).toString()}
|
||||||
|
|||||||
@@ -22,10 +22,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.geq-panels {
|
.geq-panels {
|
||||||
|
display: grid;
|
||||||
|
grid-auto-flow: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
|
||||||
gap: var(--space-2);
|
gap: var(--space-2);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.geq-band-panel {
|
.geq-band-panel {
|
||||||
|
|||||||
@@ -21,15 +21,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.limiter-panels {
|
.limiter-panels {
|
||||||
|
display: grid;
|
||||||
|
grid-auto-flow: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
|
||||||
gap: var(--space-2);
|
gap: var(--space-2);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.limiter-panel {
|
.limiter-panel {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 10;
|
height: 100%;
|
||||||
|
|
||||||
aspect-ratio: 0.5;
|
aspect-ratio: 0.5;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|||||||
@@ -22,16 +22,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.matrix-panels {
|
.matrix-panels {
|
||||||
|
display: grid;
|
||||||
|
grid-auto-flow: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
|
||||||
gap: var(--space-2);
|
gap: var(--space-2);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.matrix-panel {
|
.matrix-panel {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
aspect-ratio: 0.6;
|
aspect-ratio: 0.5;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -179,8 +179,8 @@ export const DELAY_RANGES: Record<DelayUnit, [number, number]> = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// ------ Graph constants ------
|
// ------ Graph constants ------
|
||||||
export const GRAPH_X_MIN = 10;
|
export const GRAPH_X_MIN = 14;
|
||||||
export const GRAPH_X_MAX = 30000;
|
export const GRAPH_X_MAX = 27000;
|
||||||
export const GRAPH_Y_MIN = -21;
|
export const GRAPH_Y_MIN = -21;
|
||||||
export const GRAPH_Y_MAX = 21;
|
export const GRAPH_Y_MAX = 21;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user