add art.isLock

This commit is contained in:
Harvey committed 2022-05-16 13:09:08 +08:00
1 parent 2189a41334
commit 2c5ba00521
11 files changed
+214 -167

No files matched your search

+3 -1
View File
@@ -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;
}