simplify distance helper and factor out common bounds helper (#581)

* simplify distance helper

* factor out common bounds helper
This commit is contained in:
David Luzar 2020-01-26 20:15:08 +01:00 committed by Christopher Chedeau
parent 5853fba821
commit 7b842fc330
7 changed files with 42 additions and 77 deletions

View file

@ -1,6 +1,7 @@
export { newElement, newTextElement, duplicateElement } from "./newElement";
export {
getElementAbsoluteCoords,
getCommonBounds,
getDiamondPoints,
getArrowPoints,
getLinePoints,