mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
add 10-minute indicators to seekbar
This commit is contained in:
parent
d288467cb7
commit
156f13ded1
|
@ -725,6 +725,10 @@ var pbar = (function () {
|
|||
for (var p = 1, mins = adur / 60; p <= mins; p++)
|
||||
pctx.fillRect(Math.floor(sm * p * 60), 0, 2, pc.h);
|
||||
|
||||
pctx.fillStyle = light ? 'rgba(0,0,0,1)' : 'rgba(255,255,255,1)';
|
||||
for (var p = 1, mins = adur / 600; p <= mins; p++)
|
||||
pctx.fillRect(Math.floor(sm * p * 600), 0, 2, pc.h);
|
||||
|
||||
var w = 8,
|
||||
x = sm * apos;
|
||||
|
||||
|
|
Loading…
Reference in a new issue