Flashing arrow creation on binding band

This commit is contained in:
Mark Tolmacs 2025-07-28 14:50:01 +02:00
parent 4b3eef6099
commit 81e4381d22
No known key found for this signature in database

View File

@ -5876,6 +5876,8 @@ class App extends React.Component<AppProps, AppState> {
scrollY: zoomState.scrollY + 2 * (deltaY / nextZoom), scrollY: zoomState.scrollY + 2 * (deltaY / nextZoom),
shouldCacheIgnoreZoom: true, shouldCacheIgnoreZoom: true,
}); });
return null;
}); });
this.resetShouldCacheIgnoreZoomDebounced(); this.resetShouldCacheIgnoreZoomDebounced();
} else { } else {
@ -8139,7 +8141,7 @@ class App extends React.Component<AppProps, AppState> {
...prevState, ...prevState,
newElement: element, newElement: element,
startBoundElement: boundElement, startBoundElement: boundElement,
suggestedBindings: [], suggestedBindings: boundElement ? [boundElement] : [],
selectedElementIds: nextSelectedElementIds, selectedElementIds: nextSelectedElementIds,
selectedLinearElement: linearElementEditor, selectedLinearElement: linearElementEditor,
}; };