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
@@ -15,7 +15,7 @@ export default function rotateMix(art, player) {
|
||||
const degList = [-270, -180, -90, 0, 90, 180, 270];
|
||||
errorHandle(degList.includes(deg), `'rotate' only accept ${degList.toString()} as parameters`);
|
||||
|
||||
if (!deg) {
|
||||
if (deg === 0) {
|
||||
setStyle($video, 'width', null);
|
||||
setStyle($video, 'height', null);
|
||||
setStyle($video, 'padding', null);
|
||||
|
||||
Reference in new issue
Block a user