Fix layout bug

This commit is contained in:
Armin 2026-08-09 14:32:34 +02:00
commit 48add5f933

View file

@ -22,13 +22,13 @@ static constexpr int COL_REVERB = COL_DELAY + KNOB_W + KNOB_GAP;
static constexpr int COL_RINGMOD = COL_REVERB + KNOB_W + KNOB_GAP; static constexpr int COL_RINGMOD = COL_REVERB + KNOB_W + KNOB_GAP;
static constexpr int COL_DESTR = COL_RINGMOD + KNOB_W + KNOB_GAP; static constexpr int COL_DESTR = COL_RINGMOD + KNOB_W + KNOB_GAP;
static constexpr int COL_SHUFFLE = COL_DESTR + KNOB_W + KNOB_GAP; static constexpr int COL_SHUFFLE = COL_DESTR + KNOB_W + KNOB_GAP;
static constexpr int TOTAL_W = COL_SHUFFLE + KNOB_W; static constexpr int TOTAL_W = 832;
static constexpr int FOOTER_H = 24; static constexpr int FOOTER_H = 24;
// Header knob x positions (compact layout) // Header knob x positions (compact layout)
static constexpr int HDR_KNOB = 36; static constexpr int HDR_KNOB = 36;
static constexpr int HDR_GAP = 4; static constexpr int HDR_GAP = 4;
static constexpr int HDR_VOL = 356; static constexpr int HDR_VOL = 412;
static constexpr int HDR_PAN = HDR_VOL + HDR_KNOB + HDR_GAP; static constexpr int HDR_PAN = HDR_VOL + HDR_KNOB + HDR_GAP;
static constexpr int HDR_RING = HDR_PAN + HDR_KNOB + HDR_GAP; static constexpr int HDR_RING = HDR_PAN + HDR_KNOB + HDR_GAP;
static constexpr int HDR_DEST = HDR_RING + HDR_KNOB + HDR_GAP; static constexpr int HDR_DEST = HDR_RING + HDR_KNOB + HDR_GAP;