This commit is contained in:
Yueyu 2021-05-22 06:55:00 +08:00
parent 29d26ba343
commit 247f41f33c
2 changed files with 4 additions and 3 deletions

View file

@ -454,7 +454,10 @@ export default class Library {
}
tb.className = 'assetbox on';
selectedOne = tb.id;
// to avoid double click
setTimeout(function () {
selectedOne = tb.id;
}, 200);
clickThumb = tb;
if (tb.fieldname) {
gn('assetname').textContent = tb.fieldname;

View file

@ -75,7 +75,6 @@ export function inappInterfaceGuide () {
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
}
};
document.addEventListener('touchstart', switchHelp, false);
document.addEventListener('click', switchHelp, false);
}
@ -126,7 +125,6 @@ export function inappPaintEditorGuide () {
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
}
};
document.addEventListener('touchstart', switchHelp, false);
document.addEventListener('click', switchHelp, false);
}