mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-24 09:50:56 +02:00
fix: Refactored timeout bind mode handling
fix: Center when orbiting feat: Color change on highlight
This commit is contained in:
@@ -49,6 +49,7 @@ import {
|
||||
getOutlineAvoidingPoint,
|
||||
isBindingEnabled,
|
||||
maybeSuggestBindingsForBindingElementAtCoords,
|
||||
snapToCenter,
|
||||
} from "./binding";
|
||||
import {
|
||||
getElementAbsoluteCoords,
|
||||
@@ -2037,7 +2038,7 @@ const pointDraggingUpdates = (
|
||||
newGlobalPointPosition = getOutlineAvoidingPoint(
|
||||
element,
|
||||
hoveredElement,
|
||||
newGlobalPointPosition,
|
||||
snapToCenter(hoveredElement, elementsMap, newGlobalPointPosition),
|
||||
pointIndex,
|
||||
elementsMap,
|
||||
customIntersector,
|
||||
@@ -2127,7 +2128,7 @@ const pointDraggingUpdates = (
|
||||
const newGlobalPointPosition = getOutlineAvoidingPoint(
|
||||
element,
|
||||
hoveredElement,
|
||||
focusGlobalPoint,
|
||||
snapToCenter(hoveredElement, elementsMap, focusGlobalPoint),
|
||||
pointIndex,
|
||||
elementsMap,
|
||||
);
|
||||
|
Reference in New Issue
Block a user