Skip to content

Commit a09ae24

Browse files
authored
fix: add zoom controls config (#126)
1 parent b1e67f6 commit a09ae24

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ export function inject(container, options) {
7272
Object.assign(options, {
7373
renderer: "scratch",
7474
theme: "zelos",
75+
zoom: {
76+
controls: true,
77+
wheel: true,
78+
pinch: true,
79+
startScale: 0.675,
80+
},
7581
plugins: {
7682
toolbox: ScratchContinuousToolbox,
7783
flyoutsVerticalToolbox: CheckableContinuousFlyout,

0 commit comments

Comments
 (0)