Skip to content

Commit 2064dfc

Browse files
fix: Side menu not actually freezing (#943)
* Made side menu `mousemove` event return instantly when menu is frozen * Removed logs
1 parent b20292a commit 2064dfc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/extensions/SideMenu/SideMenuPlugin.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,10 @@ export class SideMenuView<
498498
};
499499

500500
onMouseMove = (event: MouseEvent) => {
501+
if (this.menuFrozen) {
502+
return;
503+
}
504+
501505
this.mousePos = { x: event.clientX, y: event.clientY };
502506

503507
// We want the full area of the editor to check if the cursor is hovering

0 commit comments

Comments
 (0)