prettier
This commit is contained in:
parent
41490b5637
commit
e5d77b006f
1 changed files with 2 additions and 1 deletions
|
@ -881,7 +881,8 @@ export class Player extends EventEmitter {
|
||||||
: 15;
|
: 15;
|
||||||
|
|
||||||
const index = Math.round((currentStreamTime / totalTime) * length);
|
const index = Math.round((currentStreamTime / totalTime) * length);
|
||||||
const indicator = typeof options?.indicator === 'string' && options?.indicator.length > 0 ? options?.indicator : '🔘';
|
const indicator =
|
||||||
|
typeof options?.indicator === 'string' && options?.indicator.length > 0 ? options?.indicator : '🔘';
|
||||||
const line = typeof options?.line === 'string' && options?.line.length > 0 ? options?.line : '▬';
|
const line = typeof options?.line === 'string' && options?.line.length > 0 ? options?.line : '▬';
|
||||||
|
|
||||||
if (index >= 1 && index <= length) {
|
if (index >= 1 && index <= length) {
|
||||||
|
|
Loading…
Reference in a new issue