mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Draw horizontal/vertical lines/arrows when shift pressed (#430)
* Draw horizontal/vertical lines/arrows when shift pressed * Refactor resizing with delta * Resize arrows/lines perfectly when shift pressed
This commit is contained in:
parent
dfb7c2b744
commit
926b4f24e6
4 changed files with 129 additions and 42 deletions
|
@ -12,4 +12,8 @@ export { resizeTest, getCursorForResizingElement } from "./resizeTest";
|
|||
export { isTextElement } from "./typeChecks";
|
||||
export { textWysiwyg } from "./textWysiwyg";
|
||||
export { redrawTextBoundingBox } from "./textElement";
|
||||
export { isInvisiblySmallElement } from "./sizeChecks";
|
||||
export {
|
||||
getPerfectElementSize,
|
||||
isInvisiblySmallElement,
|
||||
resizePerfectLineForNWHandler
|
||||
} from "./sizeHelpers";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue