mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: add line shape (#371)
* feat: add line shape * fix: align line tool * fix: hitbox bug sw to ne * fix: add stroke width n sloppiness for line * fix: center line inside a panel box * fix: use color as a unique key
This commit is contained in:
parent
42968ef44d
commit
8db8827c6f
8 changed files with 61 additions and 5 deletions
|
@ -76,7 +76,7 @@ export function handlerRectangles(
|
|||
8
|
||||
]; // se
|
||||
|
||||
if (element.type === "arrow") {
|
||||
if (element.type === "arrow" || element.type === "line") {
|
||||
return {
|
||||
nw: handlers.nw,
|
||||
se: handlers.se
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue