kopia lustrzana https://github.com/backface/turtlestitch
disabled keyboard shortcuts for green-flag (cmd-enter) and stop (esc) in presentation mode
rodzic
0ec6c3493f
commit
bac76a4b10
|
@ -4101,3 +4101,4 @@ in development:
|
||||||
------
|
------
|
||||||
* Blocks, Threads: added "center" to drop-down options of location blocks (GO TO, POINT TOWARDS, DISTANCE TO and DIRECTION TO)
|
* Blocks, Threads: added "center" to drop-down options of location blocks (GO TO, POINT TOWARDS, DISTANCE TO and DIRECTION TO)
|
||||||
* updated German translation
|
* updated German translation
|
||||||
|
* disabled keyboard shortcuts for green-flag (cmd-enter) and stop (esc) in presentation mode
|
||||||
|
|
|
@ -83,7 +83,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, localize,
|
||||||
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph,
|
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph,
|
||||||
AlignmentMorph, Process, XML_Element, VectorPaintEditorMorph*/
|
AlignmentMorph, Process, XML_Element, VectorPaintEditorMorph*/
|
||||||
|
|
||||||
modules.objects = '2018-April-13';
|
modules.objects = '2018-May-02';
|
||||||
|
|
||||||
var SpriteMorph;
|
var SpriteMorph;
|
||||||
var StageMorph;
|
var StageMorph;
|
||||||
|
@ -6844,7 +6844,7 @@ StageMorph.prototype.fireKeyEvent = function (key) {
|
||||||
myself = this;
|
myself = this;
|
||||||
|
|
||||||
this.keysPressed[evt] = true;
|
this.keysPressed[evt] = true;
|
||||||
if (evt === 'ctrl enter') {
|
if (evt === 'ctrl enter' && !ide.isAppMode) {
|
||||||
return this.fireGreenFlagEvent();
|
return this.fireGreenFlagEvent();
|
||||||
}
|
}
|
||||||
if (evt === 'shift enter') {
|
if (evt === 'shift enter') {
|
||||||
|
@ -6878,7 +6878,7 @@ StageMorph.prototype.fireKeyEvent = function (key) {
|
||||||
if (!ide.isAppMode) {return ide.saveProjectsBrowser(); }
|
if (!ide.isAppMode) {return ide.saveProjectsBrowser(); }
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (evt === 'esc') {
|
if (evt === 'esc' && !ide.isAppMode) {
|
||||||
return this.fireStopAllEvent();
|
return this.fireStopAllEvent();
|
||||||
}
|
}
|
||||||
this.children.concat(this).forEach(function (morph) {
|
this.children.concat(this).forEach(function (morph) {
|
||||||
|
|
Ładowanie…
Reference in New Issue