kopia lustrzana https://github.com/backface/turtlestitch
made keyboard events always be thread safe
rodzic
9fdc303d69
commit
3402a8897e
|
@ -3836,13 +3836,22 @@ Fixes:
|
||||||
------
|
------
|
||||||
* Objects: fixed #1979 - make sure to always re-focus the world-canvas
|
* Objects: fixed #1979 - make sure to always re-focus the world-canvas
|
||||||
|
|
||||||
|
180117
|
||||||
|
------
|
||||||
|
* Objects: made keyboard events always be thread safe (same as in Scratch nowadays)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
v4.1.1 Features:
|
v4.1.1 Features:
|
||||||
* translation support for custom blocks
|
* translation support for custom blocks
|
||||||
* new "direction to..." primitive as variant of "distance to..." in "Sensing"
|
* new "direction to..." primitive as variant of "distance to..." in "Sensing"
|
||||||
* added "width" and "height" selectors to Pixels library
|
* added "width" and "height" selectors to Pixels library
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
* made keyboard events always be thread safe (same as in Scratch nowadays)
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* scroll menus if they are taller than the world
|
* scroll menus if they are taller than the world
|
||||||
* enabled color picker for pen trails on stage
|
* enabled color picker for pen trails on stage
|
||||||
* track keyboard events after accepting ASK using the keyboard
|
* track keyboard events after accepting ASK using the keyboard
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, localize,
|
||||||
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph,
|
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph,
|
||||||
AlignmentMorph*/
|
AlignmentMorph*/
|
||||||
|
|
||||||
modules.objects = '2018-January-05';
|
modules.objects = '2018-January-17';
|
||||||
|
|
||||||
var SpriteMorph;
|
var SpriteMorph;
|
||||||
var StageMorph;
|
var StageMorph;
|
||||||
|
@ -6814,7 +6814,7 @@ StageMorph.prototype.fireKeyEvent = function (key) {
|
||||||
procs.push(myself.threads.startProcess(
|
procs.push(myself.threads.startProcess(
|
||||||
block,
|
block,
|
||||||
morph,
|
morph,
|
||||||
myself.isThreadSafe
|
true // ignore running scripts, was: myself.isThreadSafe
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue