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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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";