A selection moves, trims and deletes together, in the timeline and the pool
Box-select clips and drag one: every selected clip moves, and in a lane they claim what they land on as one clip does, keeping their places among themselves. Drag an end and every selected end moves by as much, each its own trim; between two selected clips the cut is the end of the one before. Delete removes everything selected. The media pool picks as the timeline does: shift for a range, cmd to toggle, Delete for all of them, with one question when any is placed. Timeline rows rename symbols with a pencil. The row's buttons sit together at its end, as the pool's now do, and quick clicks on them are not a double-click on the row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4cf279bb5a
commit
7c637576b2
10 changed files with 284 additions and 164 deletions
|
|
@ -651,9 +651,8 @@ button.followable svg { width: 12px; height: 12px; display: block; }
|
|||
cursor: grab;
|
||||
}
|
||||
|
||||
/* Shrinks to the name, so the pencil sits against the end of the word rather
|
||||
than out at the edge of the pane — and ellipses rather than pushing the
|
||||
number off the row. */
|
||||
/* Shrinks to the name, and ellipses rather than pushing the number off the
|
||||
row. */
|
||||
.pool-item .text { display: flex; flex-direction: column; flex: 0 1 auto; min-width: 0; }
|
||||
.pool-item .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
|
|
@ -721,13 +720,12 @@ button.followable svg { width: 12px; height: 12px; display: block; }
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* The pencil. A span and not a button — see `ui/pool`'s `row` — so it needs its
|
||||
own centring and cursor rather than inheriting a control's.
|
||||
|
||||
Hidden until the row is under the pointer or holds focus, because a column of
|
||||
twenty pencils is a column of twenty pencils; `visibility` rather than
|
||||
`display`, so it keeps its width and the name beside it does not reflow as the
|
||||
pointer crosses the list. */
|
||||
/* The pencil and the cross, at the row's end as a timeline row has them. Two
|
||||
slots wide whether or not the cross is there, so the numbers beside them stay
|
||||
in one column. Spans and not buttons — see `ui/pool`'s `row` — so they need
|
||||
their own centring and cursor rather than inheriting a control's. */
|
||||
.pool-actions { display: flex; flex: 0 0 30px; justify-content: flex-start; }
|
||||
.pool-item > .text + .pool-actions { margin-left: auto; }
|
||||
.pool-rename {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -739,11 +737,8 @@ button.followable svg { width: 12px; height: 12px; display: block; }
|
|||
color: var(--dim);
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.pool-row:hover .pool-rename,
|
||||
.pool-row:focus-within .pool-rename { visibility: visible; }
|
||||
.pool-rename:hover { background: var(--hair); color: var(--fg); }
|
||||
|
||||
/* Renaming. The input REPLACES the row at the same height, so a list does not
|
||||
|
|
@ -1182,7 +1177,8 @@ button.followable svg { width: 12px; height: 12px; display: block; }
|
|||
.tl-label.lane:hover:not(.on) { background: #f8f6f0; }
|
||||
.tl-track.lane { background: rgba(0, 0, 0, 0.035); }
|
||||
.tl-name-input { min-width: 0; flex: 1; font: inherit; }
|
||||
.tl-rename { margin-left: auto; padding: 0 3px; border: 0; background: none; color: var(--dim); }
|
||||
.tl-actions { display: flex; align-items: center; margin-left: auto; }
|
||||
.tl-rename { padding: 0 3px; border: 0; background: none; color: var(--dim); }
|
||||
.tl-rename:hover { color: var(--fg); }
|
||||
|
||||
/* A fixed-width cell whether or not there is a triangle in it, so names at the
|
||||
|
|
@ -1200,12 +1196,11 @@ button.followable svg { width: 12px; height: 12px; display: block; }
|
|||
|
||||
.tl-twist:hover:not(:disabled) { background: none; color: var(--fg); }
|
||||
.tl-twist:disabled { opacity: 0; cursor: default; }
|
||||
.tl-delete { margin-left: auto; padding: 0 4px; border: 0; background: none; color: var(--dim); }
|
||||
.tl-delete { padding: 0 4px; border: 0; background: none; color: var(--dim); }
|
||||
.tl-delete:hover { color: var(--fg); }
|
||||
.tl-solo, .tl-trace { margin-left: auto; padding: 0 4px; border: 0; background: none; color: var(--dim); font-size: 10px; }
|
||||
.tl-solo, .tl-trace { padding: 0 4px; border: 0; background: none; color: var(--dim); font-size: 10px; }
|
||||
.tl-solo:hover, .tl-trace:hover { color: var(--fg); }
|
||||
.tl-solo.on, .tl-trace.on { color: var(--sel); font-weight: 600; }
|
||||
.tl-solo + .tl-delete, .tl-trace + .tl-solo { margin-left: 0; }
|
||||
|
||||
/* The ruler and the corner above the labels stay at the top of the body while
|
||||
the rows scroll under them: the ruler is the scrubber, and scrolling down to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue