artplayer@4.4.3

This commit is contained in:
Harvey committed 2022-05-26 13:37:45 +08:00
1 parent d716c31af5
commit b43522263e
8 files changed
+153 -152

No files matched your search

+2 -3
View File
@@ -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`);