Add Arrowheads to Arrows (#2452)

Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: Lipis <lipiridis@gmail.com>
This commit is contained in:
Steve Ruiz
2020-12-08 15:02:55 +00:00
committed by GitHub
parent bd8e860d7f
commit c291edfc44
25 changed files with 711 additions and 101 deletions

View File

@ -130,6 +130,8 @@ export class API {
case "draw":
element = newLinearElement({
type: type as "arrow" | "line" | "draw",
startArrowhead: null,
endArrowhead: null,
...base,
});
break;