Skip to content

Commit 5f254ad

Browse files
committed
Add additional check for ExclusiveDoubleClickMode
1 parent 6bbe83a commit 5f254ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/core/src/Inputs/scene.inputManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ export class InputManager {
518518

519519
if (!clickInfo.hasSwiped && !this._skipPointerTap && !this._isMultiTouchGesture) {
520520
let type = 0;
521-
if (clickInfo.singleClick) {
521+
if (clickInfo.singleClick && !InputManager.ExclusiveDoubleClickMode) {
522522
type = PointerEventTypes.POINTERTAP;
523523
} else if (clickInfo.doubleClick) {
524524
type = PointerEventTypes.POINTERDOUBLETAP;

0 commit comments

Comments
 (0)