mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Do not rebind undragged elbow arrow endpoint (#9191)
This commit is contained in:
parent
4ec812bc18
commit
d587b8a3de
5 changed files with 90 additions and 60 deletions
|
@ -10,7 +10,6 @@ import {
|
|||
import { bindLinearElement } from "./binding";
|
||||
import { LinearElementEditor } from "./linearElementEditor";
|
||||
import { newArrowElement, newElement } from "./newElement";
|
||||
import type { SceneElementsMap } from "./types";
|
||||
import {
|
||||
type ElementsMap,
|
||||
type ExcalidrawBindableElement,
|
||||
|
@ -472,7 +471,7 @@ const createBindingArrow = (
|
|||
|
||||
const update = updateElbowArrowPoints(
|
||||
bindingArrow,
|
||||
toBrandedType<SceneElementsMap>(
|
||||
toBrandedType<NonDeletedSceneElementsMap>(
|
||||
new Map([
|
||||
...elementsMap.entries(),
|
||||
[startBindingElement.id, startBindingElement],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue