mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
bugifx
This commit is contained in:
1 parent
5554849a9f
commit
d3d4114336
5 files changed
+7
-7
No files matched your search
@@ -12,7 +12,7 @@ export default function flipMix(art, player) {
|
||||
return $player.dataset.flip;
|
||||
},
|
||||
set(flip) {
|
||||
if (flip === false) flip = 'normal';
|
||||
if (!flip) flip = 'normal';
|
||||
|
||||
const flipList = ['normal', 'horizontal', 'vertical'];
|
||||
errorHandle(flipList.includes(flip), `'flip' only accept ${flipList.toString()} as parameters`);
|
||||
|
||||
Reference in new issue
Block a user