Skip to content

Commit

Permalink
feat(Designer): Allow user to zoom out 10x more than before (#4372)
Browse files Browse the repository at this point in the history
Allow user to zoom out 20x more than before
  • Loading branch information
rllyy97 committed Mar 14, 2024
1 parent 69f6a87 commit 31bffcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/designer/src/lib/ui/Designer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export const Designer = (props: DesignerProps) => {
zoomActivationKeyCode={['Ctrl', 'Meta', 'Alt', 'Control']}
translateExtent={clampPan ? translateExtent : undefined}
onMove={(_e, viewport) => setZoom(viewport.zoom)}
minZoom={0.05}
onPaneClick={() => dispatch(clearPanel())}
proOptions={{
account: 'paid-sponsor',
Expand Down

0 comments on commit 31bffcc

Please sign in to comment.