kopia lustrzana https://github.com/backface/turtlestitch
fixed #1979 - make sure to always re-focus the world-canvas
rodzic
390a9f91e3
commit
9fdc303d69
|
|
@ -3832,6 +3832,9 @@ Fixes:
|
||||||
* Morphic: added keyboard navigation for menus that scroll
|
* Morphic: added keyboard navigation for menus that scroll
|
||||||
* added "width" and "height" selectors to Pixels library
|
* added "width" and "height" selectors to Pixels library
|
||||||
|
|
||||||
|
180104
|
||||||
|
------
|
||||||
|
* Objects: fixed #1979 - make sure to always re-focus the world-canvas
|
||||||
|
|
||||||
|
|
||||||
v4.1.1 Features:
|
v4.1.1 Features:
|
||||||
|
|
@ -3842,3 +3845,4 @@ v4.1.1 Features:
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, localize,
|
||||||
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph,
|
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph,
|
||||||
AlignmentMorph*/
|
AlignmentMorph*/
|
||||||
|
|
||||||
modules.objects = '2018-January-02';
|
modules.objects = '2018-January-05';
|
||||||
|
|
||||||
var SpriteMorph;
|
var SpriteMorph;
|
||||||
var StageMorph;
|
var StageMorph;
|
||||||
|
|
@ -6620,6 +6620,7 @@ StageMorph.prototype.step = function () {
|
||||||
// handle keyboard events
|
// handle keyboard events
|
||||||
if (world.keyboardReceiver === null) {
|
if (world.keyboardReceiver === null) {
|
||||||
world.keyboardReceiver = this;
|
world.keyboardReceiver = this;
|
||||||
|
world.worldCanvas.focus(); // addresses a Safari 11 bug
|
||||||
}
|
}
|
||||||
if (world.currentKey === null) {
|
if (world.currentKey === null) {
|
||||||
this.keyPressed = null;
|
this.keyPressed = null;
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue