Skip to content

Commit

Permalink
fix: add zoom controls config (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega authored Aug 20, 2024
1 parent b1e67f6 commit a09ae24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ export function inject(container, options) {
Object.assign(options, {
renderer: "scratch",
theme: "zelos",
zoom: {
controls: true,
wheel: true,
pinch: true,
startScale: 0.675,
},
plugins: {
toolbox: ScratchContinuousToolbox,
flyoutsVerticalToolbox: CheckableContinuousFlyout,
Expand Down

0 comments on commit a09ae24

Please # to comment.