We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7135e commit c54b0e9Copy full SHA for c54b0e9
apps/client/src/code/pages/page/notes/dragging.ts
@@ -71,8 +71,6 @@ export class NoteDragging {
71
note: PageNote;
72
event: PointerEvent;
73
}) => {
74
- this.react.active = true;
75
-
76
this.initialRegionId = this.page.activeRegion.react.value.id;
77
this.finalRegionId = this.page.id;
78
@@ -107,9 +105,15 @@ export class NoteDragging {
107
105
selectedNote.react.collab.pos,
108
106
);
109
}
+
+ this.react.active = true;
110
};
111
112
private _dragUpdate = (event: PointerEvent) => {
113
+ if (!this.react.active) {
114
+ return;
115
+ }
116
117
const clientPos = this.page.pos.eventToClient(event);
118
119
const worldDiff = this.page.sizes.screenToWorld2D(
0 commit comments