mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
artplayer@4.4.3
This commit is contained in:
1 parent
d716c31af5
commit
b43522263e
8 files changed
+153
-152
No files matched your search
@@ -70,9 +70,8 @@ export default function miniMix(art) {
|
||||
art.mini = true;
|
||||
}
|
||||
} else {
|
||||
const $body = document.body;
|
||||
const top = $body.clientHeight - art.height - 50;
|
||||
const left = $body.clientWidth - art.width - 50;
|
||||
const top = window.innerHeight - art.height - 50;
|
||||
const left = window.innerWidth - art.width - 50;
|
||||
storage.set('top', top);
|
||||
storage.set('left', left);
|
||||
setStyle($player, 'top', `${top}px`);
|
||||
|
||||
Reference in new issue
Block a user