mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 13:51:20 -08:00
修复迷你播放器的坐标错误
This commit is contained in:
1 parent
4b207c6bfb
commit
eb34a39429
6 files changed
+5
-7
No files matched your search
@@ -81,7 +81,7 @@ function customPip(art, player) {
|
||||
destroyEvents.push(() => {
|
||||
draggie.destroy();
|
||||
});
|
||||
} else {
|
||||
} else if (cachePos && cachePos.x !== 0 && cachePos.y !== 0) {
|
||||
setStyle($player, 'left', `${cachePos.x}px`);
|
||||
setStyle($player, 'top', `${cachePos.y}px`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user