kopia lustrzana https://github.com/backface/turtlestitch
make sure stage has keyboard focus when loading Snap
rodzic
d711777cfb
commit
1e9ffeda60
|
@ -78,7 +78,7 @@ Animation, BoxMorph, BlockEditorMorph, BlockDialogMorph, Note*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2020-March-23';
|
modules.gui = '2020-April-04';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -547,7 +547,7 @@ IDE_Morph.prototype.openIn = function (world) {
|
||||||
} else if (location.hash.substr(0, 7) === '#signup') {
|
} else if (location.hash.substr(0, 7) === '#signup') {
|
||||||
this.createCloudAccount();
|
this.createCloudAccount();
|
||||||
}
|
}
|
||||||
this.loadNewProject = false;
|
this.loadNewProject = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.userLanguage) {
|
if (this.userLanguage) {
|
||||||
|
@ -556,7 +556,7 @@ IDE_Morph.prototype.openIn = function (world) {
|
||||||
} else {
|
} else {
|
||||||
interpretUrlAnchors.call(this);
|
interpretUrlAnchors.call(this);
|
||||||
}
|
}
|
||||||
|
world.keyboardFocus = this.stage;
|
||||||
this.warnAboutIE();
|
this.warnAboutIE();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue