fix: Fix bug that caused flyout items under the mouse to be selected without movement. (#8900)

This commit is contained in:
Aaron Dodson
2025-04-17 15:39:04 -07:00
committed by GitHub
parent 296ad33c21
commit 5b103e1d79

View File

@@ -222,7 +222,7 @@ export class BlockFlyoutInflater implements IFlyoutInflater {
);
blockListeners.push(
browserEvents.bind(block.getSvgRoot(), 'pointerenter', null, () => {
browserEvents.bind(block.getSvgRoot(), 'pointermove', null, () => {
if (!this.flyout?.targetWorkspace?.isDragging()) {
block.addSelect();
}