WaveformSeeker Improvements

This commit is contained in:
daniel-c-harvey
2026-06-06 09:52:31 -04:00
parent ab9db6d0ec
commit b746645f97
4 changed files with 20 additions and 20 deletions
@@ -25,11 +25,10 @@
.waveform-bar {
flex: 1;
min-width: 2px;
max-width: 6px;
width: 6px;
height: var(--bar-height, 2%);
min-height: 2px;
border-radius: 1px 1px 0 0;
border-radius: 2px 2px 0 0;
}
.waveform-layer-played .waveform-bar {
@@ -46,18 +45,18 @@
background: var(--deepdrft-muted);
}
/* Playhead rule at the split point. */
.waveform-playhead {
position: absolute;
top: 0;
bottom: 0;
left: calc(var(--played-fraction, 0) * 100%);
width: 2px;
margin-left: -1px;
background: var(--deepdrft-green-accent);
pointer-events: none;
transition: left 0.08s linear;
}
/*!* Playhead rule at the split point. *!*/
/*.waveform-playhead {*/
/* position: absolute;*/
/* top: 0;*/
/* bottom: 0;*/
/* left: calc(var(--played-fraction, 0) * 100%);*/
/* width: 2px;*/
/* margin-left: -1px;*/
/* background: var(--deepdrft-green-accent);*/
/* pointer-events: none;*/
/* transition: left 0.08s linear;*/
/*}*/
/* Hover preview line — faint vertical rule under the cursor. */
.waveform-hover-line {