mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-10 15:02:06 -05:00
add todo and remove a newline
This commit is contained in:
parent
d19848b712
commit
eefe021425
2 changed files with 1 additions and 1 deletions
|
@ -569,6 +569,7 @@ class Blocks {
|
||||||
}
|
}
|
||||||
// The selected item in the sensing of block menu needs to change based on the
|
// 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.
|
// 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.opcode === 'sensing_of_object_menu') {
|
||||||
if (block.fields.OBJECT.value === '_stage_') {
|
if (block.fields.OBJECT.value === '_stage_') {
|
||||||
this._blocks[block.parent].fields.PROPERTY.value = 'backdrop #';
|
this._blocks[block.parent].fields.PROPERTY.value = 'backdrop #';
|
||||||
|
|
|
@ -5,7 +5,6 @@ const Sprite = require('../../src/sprites/sprite');
|
||||||
const RenderedTarget = require('../../src/sprites/rendered-target');
|
const RenderedTarget = require('../../src/sprites/rendered-target');
|
||||||
const BlockUtility = require('../../src/engine/block-utility');
|
const BlockUtility = require('../../src/engine/block-utility');
|
||||||
|
|
||||||
|
|
||||||
test('getPrimitives', t => {
|
test('getPrimitives', t => {
|
||||||
const rt = new Runtime();
|
const rt = new Runtime();
|
||||||
const s = new Sensing(rt);
|
const s = new Sensing(rt);
|
||||||
|
|
Loading…
Reference in a new issue