diff --git a/history.txt b/history.txt index 67c32349..76ce5b03 100755 --- a/history.txt +++ b/history.txt @@ -3836,13 +3836,22 @@ Fixes: ------ * 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: * translation support for custom blocks * new "direction to..." primitive as variant of "distance to..." in "Sensing" * added "width" and "height" selectors to Pixels library +Changes: +* made keyboard events always be thread safe (same as in Scratch nowadays) + Fixes: * scroll menus if they are taller than the world * enabled color picker for pen trails on stage * track keyboard events after accepting ASK using the keyboard + diff --git a/objects.js b/objects.js index 5fc7d611..f733cae1 100644 --- a/objects.js +++ b/objects.js @@ -83,7 +83,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, localize, TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph, AlignmentMorph*/ -modules.objects = '2018-January-05'; +modules.objects = '2018-January-17'; var SpriteMorph; var StageMorph; @@ -6814,7 +6814,7 @@ StageMorph.prototype.fireKeyEvent = function (key) { procs.push(myself.threads.startProcess( block, morph, - myself.isThreadSafe + true // ignore running scripts, was: myself.isThreadSafe )); }); }