mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: increase max zoom (#2881)
This commit is contained in:
parent
6abf4f52ff
commit
10cd6a24b0
4 changed files with 12 additions and 4 deletions
|
@ -3,6 +3,7 @@ import { getDefaultAppState } from "../appState";
|
|||
import { ColorPicker } from "../components/ColorPicker";
|
||||
import { resetZoom, trash, zoomIn, zoomOut } from "../components/icons";
|
||||
import { ToolButton } from "../components/ToolButton";
|
||||
import { ZOOM_STEP } from "../constants";
|
||||
import { getCommonBounds, getNonDeletedElements } from "../element";
|
||||
import { newElementWith } from "../element/mutateElement";
|
||||
import { ExcalidrawElement } from "../element/types";
|
||||
|
@ -75,8 +76,6 @@ export const actionClearCanvas = register({
|
|||
),
|
||||
});
|
||||
|
||||
const ZOOM_STEP = 0.1;
|
||||
|
||||
export const actionZoomIn = register({
|
||||
name: "zoomIn",
|
||||
perform: (_elements, appState) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue