set storyStarted if script is changed

This commit is contained in:
Yueyu 2021-08-10 20:52:57 +08:00
parent 7e7581dd34
commit a32cb2c056

View file

@ -182,6 +182,8 @@ export default class ScriptsPane {
var dx = localx(sc, el.left); var dx = localx(sc, el.left);
var dy = localy(sc, el.top); var dy = localy(sc, el.top);
ScriptsPane.blockDropped(sc, dx, dy); ScriptsPane.blockDropped(sc, dx, dy);
// Start the story if scripts is changed.
ScratchJr.storyStart('ScriptsPane.changed');
break; break;
case 'library': case 'library':
var thumb = Palette.getHittedThumb(el, gn('spritecc')); var thumb = Palette.getHittedThumb(el, gn('spritecc'));