reference "wait for SVG skins to load" issue

This commit is contained in:
adroitwhiz
2020-05-07 16:08:28 -04:00
parent 34072d2f53
commit 5566a600ba

View File

@@ -3,6 +3,7 @@
// Wait for all SVG skins to be loaded.
// TODO: this is extremely janky and should be removed once vm.loadProject waits for SVG skins to load
// https://github.com/LLK/scratch-render/issues/563
window.waitForSVGSkinLoad = renderer => new Promise(resolve => {
// eslint-disable-next-line prefer-const
let interval;