Refactor ResizeArrowFnType to resolve Codesandbox parsing error (#1338)

This commit is contained in:
Sanghyeon Lee
2020-04-10 01:10:35 +09:00
committed by GitHub
parent 8efe0b7d05
commit 9761d7ea50
4 changed files with 17 additions and 13 deletions

View File

@ -21,7 +21,6 @@ import {
getDrawingVersion,
getSyncableElements,
newLinearElement,
ResizeArrowFnType,
resizeElements,
getElementWithResizeHandler,
canResizeMutlipleElements,
@ -52,7 +51,11 @@ import {
import { renderScene } from "../renderer";
import { AppState, GestureEvent, Gesture } from "../types";
import { ExcalidrawElement, ExcalidrawTextElement } from "../element/types";
import {
ExcalidrawElement,
ExcalidrawTextElement,
ResizeArrowFnType,
} from "../element/types";
import { distance2d, isPathALoop } from "../math";