mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-05 16:47:03 +02:00
check for strict null
This commit is contained in:
@@ -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, {
|
||||||
|
Reference in New Issue
Block a user