feat: improved freedraw (#3512)

Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
Steve Ruiz
2021-05-09 16:42:10 +01:00
committed by GitHub
parent 198800136e
commit 49c6bdd520
66 changed files with 786 additions and 247 deletions

View File

@ -225,7 +225,7 @@ export const getTransformHandles = (
if (
element.type === "arrow" ||
element.type === "line" ||
element.type === "draw"
element.type === "freedraw"
) {
if (element.points.length === 2) {
// only check the last point because starting point is always (0,0)