mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(app): stop seeking and hidden tabs from stranding playback (#1874)
This commit is contained in:
1 parent
213dd53ee8
commit
44869b0ce4
18 files changed
+1611
-712
No files matched your search
@@ -40,6 +40,7 @@
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: var(--media-progress-value, 0%);
|
||||
background-color: var(--brand-primary-light);
|
||||
border-radius: var(--radius-full);
|
||||
will-change: width;
|
||||
@@ -48,6 +49,7 @@
|
||||
.thumb {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: var(--media-progress-value, 0%);
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
background-color: var(--brand-primary-light);
|
||||
@@ -70,6 +72,18 @@
|
||||
transition: width 100ms linear;
|
||||
}
|
||||
|
||||
.container:not(.isDragging) .thumb {
|
||||
transition:
|
||||
opacity 150ms ease,
|
||||
transform 150ms ease,
|
||||
left 100ms linear;
|
||||
}
|
||||
|
||||
.container[data-playhead-predicted='true']:not(.isDragging) .fill,
|
||||
.container[data-playhead-predicted='true']:not(.isDragging) .thumb {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.container:hover .thumb,
|
||||
.container:focus-within .thumb,
|
||||
.isDragging .thumb {
|
||||
|
||||
Reference in new issue
Block a user