Mark Tolmacs 5 dní pred
rodič
commit
df816fd970
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      packages/element/src/binding.ts

+ 2 - 2
packages/element/src/binding.ts

@@ -596,14 +596,14 @@ export const getBindingStrategyForDraggingBindingElementEndpoints = (
           return {
           return {
             start: startDragged
             start: startDragged
               ? {
               ? {
-                  mode: "orbit",
+                  mode: globalBindMode === "orbit" ? "orbit" : "inside",
                   element: enclosingFrame,
                   element: enclosingFrame,
                   focusPoint: globalPoint,
                   focusPoint: globalPoint,
                 }
                 }
               : start,
               : start,
             end: endDragged
             end: endDragged
               ? {
               ? {
-                  mode: "orbit",
+                  mode: globalBindMode === "orbit" ? "orbit" : "inside",
                   element: enclosingFrame,
                   element: enclosingFrame,
                   focusPoint: globalPoint,
                   focusPoint: globalPoint,
                 }
                 }