mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-02-26 22:45:13 -05:00
clean up
This commit is contained in:
parent
29d26ba343
commit
247f41f33c
2 changed files with 4 additions and 3 deletions
|
@ -454,7 +454,10 @@ export default class Library {
|
||||||
}
|
}
|
||||||
|
|
||||||
tb.className = 'assetbox on';
|
tb.className = 'assetbox on';
|
||||||
|
// to avoid double click
|
||||||
|
setTimeout(function () {
|
||||||
selectedOne = tb.id;
|
selectedOne = tb.id;
|
||||||
|
}, 200);
|
||||||
clickThumb = tb;
|
clickThumb = tb;
|
||||||
if (tb.fieldname) {
|
if (tb.fieldname) {
|
||||||
gn('assetname').textContent = tb.fieldname;
|
gn('assetname').textContent = tb.fieldname;
|
||||||
|
|
|
@ -75,7 +75,6 @@ export function inappInterfaceGuide () {
|
||||||
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
|
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
document.addEventListener('touchstart', switchHelp, false);
|
|
||||||
document.addEventListener('click', switchHelp, false);
|
document.addEventListener('click', switchHelp, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +125,6 @@ export function inappPaintEditorGuide () {
|
||||||
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
|
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
document.addEventListener('touchstart', switchHelp, false);
|
|
||||||
document.addEventListener('click', switchHelp, false);
|
document.addEventListener('click', switchHelp, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue