mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
check for strict null
This commit is contained in:
parent
f7b3befd0a
commit
17477480f3
1 changed files with 1 additions and 1 deletions
|
@ -741,7 +741,7 @@ export class LinearElementEditor {
|
||||||
}
|
}
|
||||||
if (event.altKey && appState.editingLinearElement) {
|
if (event.altKey && appState.editingLinearElement) {
|
||||||
if (
|
if (
|
||||||
linearElementEditor.lastUncommittedPoint == null &&
|
linearElementEditor.lastUncommittedPoint === null &&
|
||||||
!isElbowArrow(element)
|
!isElbowArrow(element)
|
||||||
) {
|
) {
|
||||||
mutateElement(element, {
|
mutateElement(element, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue