feat: pattern gallery as a preset editor; chase steps; sim split with the preset editor
- Pattern gallery shows the controller's presets, one at a time, with a dropdown, Save, Add preset, and the controller's field labels, delay limits and colour counts. Edits show in the preview; Save writes to the controller only. - Presets are always timed in ms (beat_time is no longer sent to drivers); beats stay in sequences. - Chase steps of 0 hold still; the marquee style is removed from the controller, the gallery and the driver (submodule commit 12a8e22). - The rig's split pane opens the preset editor too (Rig / Presets switch and a Preset editor menu entry). - Sequence editor, room layout and simulator controls from earlier work are included. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8c783ab926
commit
cb51a726bc
79 files changed
+5183
-934
No files matched your search
@@ -55,8 +55,8 @@ button.link {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 10px 18px;
|
||||
padding: 10px 16px;
|
||||
gap: 6px 12px;
|
||||
padding: 6px 12px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: var(--panel);
|
||||
}
|
||||
@@ -104,6 +104,10 @@ button.link {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
/* A finger or pen drag moves strips and the view, not the page: without this the browser scrolls the
|
||||
page and cancels the pointer, so the drag stops */
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.drawer {
|
||||
@@ -151,16 +155,6 @@ button.link {
|
||||
.state-running { color: var(--ok); }
|
||||
.state-crashed { color: var(--bad); }
|
||||
|
||||
.hint {
|
||||
padding: 8px 16px;
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
background: var(--panel);
|
||||
}
|
||||
.hint code {
|
||||
color: var(--text);
|
||||
font-family: ui-monospace, Menlo, Consolas, monospace;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.stage { flex-direction: column; }
|
||||
@@ -169,9 +163,13 @@ button.link {
|
||||
}
|
||||
|
||||
/* ---- rooms and the editor ---- */
|
||||
.room-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
|
||||
/* The room controls and the menu sit in the top bar itself (one row, wrapping only when the window is narrow),
|
||||
so the editor gets the rest of the height */
|
||||
.room-bar, .actions { display: contents; }
|
||||
.edit-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
|
||||
.edit-tools[hidden] { display: none; }
|
||||
.zoom-tools { display: inline-flex; align-items: center; gap: 4px; }
|
||||
.zoom-tools button { min-width: 2.2em; }
|
||||
.field-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
|
||||
.muted { color: var(--muted); }
|
||||
select, input {
|
||||
|
||||
Reference in new issue
Block a user