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 6bbe83a commit b3fb7e9Copy full SHA for b3fb7e9
packages/dev/core/src/Behaviors/Meshes/pointerDragBehavior.ts
@@ -279,7 +279,7 @@ export class PointerDragBehavior implements Behavior<AbstractMesh> {
279
if (
280
this.startAndReleaseDragOnPointerEvents &&
281
this.currentDraggingPointerId == (<IPointerEvent>pointerInfo.event).pointerId &&
282
- this._activeDragButton === pointerInfo.event.button
+ (this._activeDragButton === pointerInfo.event.button || this._activeDragButton === -1)
283
) {
284
this.releaseDrag();
285
}
0 commit comments