Skip to content

Commit 818227b

Browse files
gonfunkocwillisf
authored andcommitted
fix: modify inject options to reflect Scratch behaviors (#5)
1 parent eaaca29 commit 818227b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/scratch-gui/src/containers/blocks.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,17 +664,21 @@ Blocks.propTypes = {
664664
Blocks.defaultOptions = {
665665
zoom: {
666666
controls: true,
667-
wheel: true,
667+
wheel: false,
668668
startScale: BLOCKS_DEFAULT_SCALE
669669
},
670+
move: {
671+
wheel: true,
672+
},
670673
grid: {
671674
spacing: 40,
672675
length: 2,
673676
colour: '#ddd'
674677
},
675678
comments: true,
676679
collapse: false,
677-
sounds: false
680+
sounds: false,
681+
trashcan: false,
678682
};
679683

680684
Blocks.defaultProps = {

0 commit comments

Comments
 (0)