0.5.3: timeline name-col resize + playhead layering
- Track-name resize strip starts below the scrub bar and sits on the name-column side of the boundary, so scrubbing at time=0 is no longer intercepted by the resize hit area. - Playhead (lane) and scrub handle get z-index 20 so they stay on top of the sticky track-name column (z-index 5) and the resize strip. The playhead stays fully visible at time=0 and when the lane is scrolled under the sticky column. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
07b0ef2659
commit
48f92015e4
3 files changed
+16
-8
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "animatr",
|
||||
"private": true,
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -1997,12 +1997,16 @@ onBeforeUnmount(() => {
|
||||
|
||||
.name-col-resize {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
/* Start below the scrub bar so the bar's hit area (scrubber/playhead)
|
||||
is never shadowed by the resize strip. */
|
||||
top: 28px;
|
||||
bottom: 0;
|
||||
width: 8px;
|
||||
transform: translateX(-4px);
|
||||
width: 6px;
|
||||
/* Hit area lies entirely inside the name-column side of the boundary
|
||||
so the playhead sitting on the lane edge stays clickable. */
|
||||
transform: translateX(-6px);
|
||||
cursor: ew-resize;
|
||||
z-index: 15;
|
||||
z-index: 3;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
@@ -2011,7 +2015,7 @@ onBeforeUnmount(() => {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 4px;
|
||||
right: 0;
|
||||
width: 1px;
|
||||
background: transparent;
|
||||
transition: background 120ms var(--ease);
|
||||
@@ -2178,6 +2182,7 @@ onBeforeUnmount(() => {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.scrub-handle-head {
|
||||
@@ -2476,7 +2481,10 @@ onBeforeUnmount(() => {
|
||||
background: var(--accent);
|
||||
pointer-events: none;
|
||||
transform: translateX(-0.5px);
|
||||
z-index: 4;
|
||||
/* Must render above the sticky track-name column (z-index 5) and the
|
||||
resize strip (z-index 3) so the playhead stays visible at time=0 or
|
||||
when scrolled. */
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.kf-seg {
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
export const APP_VERSION = '0.5.2'
|
||||
export const APP_VERSION = '0.5.3'
|
||||
export const APP_NAME = 'RUWIO'
|
||||
Reference in new issue
Block a user