Przeglądaj źródła

fix: Angle-locked line history (#10677)

* fix: Line history

Signed-off-by: Mark Tolmacs <[email protected]>

* fix: More conservative condition

Signed-off-by: Mark Tolmacs <[email protected]>

---------

Signed-off-by: Mark Tolmacs <[email protected]>
Márk Tolmács 1 miesiąc temu
rodzic
commit
0988ecfef4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/excalidraw/components/App.tsx

+ 1 - 1
packages/excalidraw/components/App.tsx

@@ -10052,7 +10052,7 @@ class App extends React.Component<AppProps, AppState> {
             });
           }
         } else if (pointerDownState.drag.hasOccurred && !multiElement) {
-          if (isBindingElement(newElement, false)) {
+          if (isLinearElement(newElement)) {
             this.actionManager.executeAction(actionFinalize, "ui", {
               event: childEvent,
               sceneCoords,