From eefe02142507a93ead63ac20c41bd022ff672ec9 Mon Sep 17 00:00:00 2001 From: picklesrus Date: Wed, 28 Nov 2018 12:33:04 -0500 Subject: [PATCH] add todo and remove a newline --- src/engine/blocks.js | 1 + test/unit/blocks_sensing.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/blocks.js b/src/engine/blocks.js index abb706538..aaa52bf6e 100644 --- a/src/engine/blocks.js +++ b/src/engine/blocks.js @@ -569,6 +569,7 @@ class Blocks { } // The selected item in the sensing of block menu needs to change based on the // selected target. Set it to the first item in the menu list. + // TODO: https://github.com/LLK/scratch-vm/issues/1787 if (block.opcode === 'sensing_of_object_menu') { if (block.fields.OBJECT.value === '_stage_') { this._blocks[block.parent].fields.PROPERTY.value = 'backdrop #'; diff --git a/test/unit/blocks_sensing.js b/test/unit/blocks_sensing.js index 85b45d44d..130b27d0b 100644 --- a/test/unit/blocks_sensing.js +++ b/test/unit/blocks_sensing.js @@ -5,7 +5,6 @@ const Sprite = require('../../src/sprites/sprite'); const RenderedTarget = require('../../src/sprites/rendered-target'); const BlockUtility = require('../../src/engine/block-utility'); - test('getPrimitives', t => { const rt = new Runtime(); const s = new Sensing(rt);