mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
add art.isLock
This commit is contained in:
1 parent
2189a41334
commit
2c5ba00521
11 files changed
+214
-167
No files matched your search
@@ -26,7 +26,9 @@ export default function clickInit(art, events) {
|
||||
art.emit('dblclick');
|
||||
|
||||
if (isMobile) {
|
||||
art.toggle();
|
||||
if (!art.isLock) {
|
||||
art.toggle();
|
||||
}
|
||||
} else {
|
||||
art.fullscreen = !art.fullscreen;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user