tweaked keyboard-entry for blocks

dev
jmoenig 2016-10-20 16:08:35 +02:00
rodzic 54a3c4bc8b
commit 9c62da95bf
2 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -149,7 +149,7 @@ isSnapObject, copy, PushButtonMorph, SpriteIconMorph, Process*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2016-October-11';
modules.blocks = '2016-October-20';
var SyntaxElementMorph;
var BlockMorph;
@ -12273,7 +12273,8 @@ ScriptFocusMorph.prototype.insertBlock = function (block) {
}
// 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.nextElement();
}

Wyświetl plik

@ -3072,3 +3072,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
161011
------
* Objects: fixed #1456 (collect message names from all scripts, including custom block definitions)
161020
------
* Blocks: Tweak Keyboard-Entry