add comment on hideFromPalette

This commit is contained in:
adroitwhiz 2020-06-02 16:29:49 -04:00
parent d6e7ede03a
commit 61a0739950

View file

@ -1383,6 +1383,7 @@ class Runtime extends EventEmitter {
target.isStage ? TargetType.STAGE : TargetType.SPRITE
);
}
// If the block info's `hideFromPalette` is true, then filter out this block
return blockFilterIncludesTarget && !block.info.hideFromPalette;
});