Add comment about sensing block id oddness

This commit is contained in:
Paul Kaplan 2018-05-09 10:52:00 -04:00
parent e0db8529bf
commit 9e372916a8

View file

@ -84,6 +84,9 @@ class Scratch3SensingBlocks {
getId: () => 'timer' getId: () => 'timer'
}, },
sensing_current: { sensing_current: {
// This is different from the default toolbox xml id in order to support
// importing multiple monitors from the same opcode from sb2 files,
// something that is not currently supported in scratch 3.
getId: (_, param) => `current_${param}` getId: (_, param) => `current_${param}`
} }
}; };