mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 13:51:20 -08:00
update style
This commit is contained in:
1 parent
677c99aa38
commit
4848b9e48c
17 files changed
+38
-31
No files matched your search
@@ -89,7 +89,7 @@ export default function progress(options) {
|
||||
|
||||
if (type === 'played') {
|
||||
setStyle($played, 'width', `${percentage * 100}%`);
|
||||
setStyle($indicator, 'left', `calc(${percentage * 100}% - var(--art-indicator-size) / 2)`);
|
||||
setStyle($indicator, 'left', `${percentage * 100}%`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user