add autoOrientation state

This commit is contained in:
Harvey authored and Harvey Zack committed 2022-04-26 17:23:42 +08:00
1 parent b292b769bd
commit b86fb446b0
55 files changed
+233 -172

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export default class Plugins {
this.add(autoPlayback);
}
if (isMobile) {
if (option.autoOrientation && isMobile) {
this.add(autoOrientation);
}