mirror of
https://github.com/google/blockly.git
synced 2026-01-31 04:30:11 +01:00
fix: Fix bug that caused flyout items under the mouse to be selected without movement. (#8900)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user