mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: enable midpoint inside linear element editor (#5564)
* feat: enable midpoint inside linear element editor * fix * fix * hack to set pointerDownState.hit.hasHitElementInside when mid point added * remove hacks as not needed :) * remove newline * fix * add doc
This commit is contained in:
parent
f4b1a30bef
commit
46a61ad4df
2 changed files with 43 additions and 20 deletions
|
@ -364,9 +364,6 @@ export class LinearElementEditor {
|
|||
scenePointer: { x: number; y: number },
|
||||
appState: AppState,
|
||||
) => {
|
||||
if (appState.editingLinearElement) {
|
||||
return false;
|
||||
}
|
||||
const { elementId } = linearElementEditor;
|
||||
const element = LinearElementEditor.getElement(elementId);
|
||||
if (!element) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue