kopia lustrzana https://github.com/backface/turtlestitch
tweaked keyboard-entry for blocks
rodzic
54a3c4bc8b
commit
9c62da95bf
|
@ -149,7 +149,7 @@ isSnapObject, copy, PushButtonMorph, SpriteIconMorph, Process*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.blocks = '2016-October-11';
|
modules.blocks = '2016-October-20';
|
||||||
|
|
||||||
var SyntaxElementMorph;
|
var SyntaxElementMorph;
|
||||||
var BlockMorph;
|
var BlockMorph;
|
||||||
|
@ -12273,7 +12273,8 @@ ScriptFocusMorph.prototype.insertBlock = function (block) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// experimental: if the inserted block has inputs, go to the first one
|
// experimental: if the inserted block has inputs, go to the first one
|
||||||
if (this.element.inputs && this.element.inputs().length) {
|
if (block.inputs && block.inputs().length) {
|
||||||
|
this.element = block;
|
||||||
this.atEnd = false;
|
this.atEnd = false;
|
||||||
this.nextElement();
|
this.nextElement();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3072,3 +3072,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
161011
|
161011
|
||||||
------
|
------
|
||||||
* Objects: fixed #1456 (collect message names from all scripts, including custom block definitions)
|
* Objects: fixed #1456 (collect message names from all scripts, including custom block definitions)
|
||||||
|
|
||||||
|
161020
|
||||||
|
------
|
||||||
|
* Blocks: Tweak Keyboard-Entry
|
||||||
|
|
Ładowanie…
Reference in New Issue