mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 08:38:30 -05:00
set storyStarted if script is changed
This commit is contained in:
parent
7e7581dd34
commit
a32cb2c056
1 changed files with 2 additions and 0 deletions
|
@ -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'));
|
||||||
|
|
Loading…
Reference in a new issue