Commit 8cc308f8 authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH
Browse files

shrink zoom adjustment level, #115

parent c2bb9d2a
Pipeline #24589 passed with stages
in 42 minutes and 8 seconds
......@@ -99,7 +99,7 @@ export const blockWidth = 200;
// spacing between grid rows/cols
export const gridDistance = 20;
// how much the scaling changes at once
export const zoomAdjustmentAmount = 1000;
export const zoomAdjustmentAmount = 100;
// convert coords in the SVG element to coords to save in data
export const convertWorldToDataCoords = (x: number, y: number) => {
return [x - svgWidthHalf, y - svgHeightHalf];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment