kopia lustrzana https://github.com/backface/turtlestitch
fixed pausing the last block of a script
rodzic
b264578370
commit
599cb6c1ca
|
@ -8,7 +8,7 @@
|
|||
<script src="src/symbols.js?version=2020-07-01"></script>
|
||||
<script src="src/widgets.js?version=2020-07-01"></script>
|
||||
<script src="src/blocks.js?version=2020-07-02"></script>
|
||||
<script src="src/threads.js?version=2020-07-02"></script>
|
||||
<script src="src/threads.js?version=2020-07-08"></script>
|
||||
<script src="src/objects.js?version=2020-07-01"></script>
|
||||
<script src="src/gui.js?version=2020-07-01"></script>
|
||||
<script src="src/paint.js?version=2020-05-17"></script>
|
||||
|
|
|
@ -61,7 +61,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy, Map,
|
|||
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph, BLACK,
|
||||
TableFrameMorph, ColorSlotMorph, isSnapObject, newCanvas, Symbol, SVG_Costume*/
|
||||
|
||||
modules.threads = '2020-July-02';
|
||||
modules.threads = '2020-July-08';
|
||||
|
||||
var ThreadManager;
|
||||
var Process;
|
||||
|
@ -608,7 +608,7 @@ function Process(topBlock, receiver, onComplete, yieldFirst) {
|
|||
// Process accessing
|
||||
|
||||
Process.prototype.isRunning = function () {
|
||||
return (this.context !== null) && (!this.readyToTerminate);
|
||||
return !this.readyToTerminate && (this.context || this.isPaused);
|
||||
};
|
||||
|
||||
// Process entry points
|
||||
|
@ -1553,7 +1553,7 @@ Process.prototype.reportGetVar = function () {
|
|||
};
|
||||
|
||||
Process.prototype.doShowVar = function (varName) {
|
||||
var varFrame = this.context.variables,
|
||||
var varFrame = (this.context || this.homeContext).variables,
|
||||
stage,
|
||||
watcher,
|
||||
target,
|
||||
|
|
Ładowanie…
Reference in New Issue