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