Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/dom/gesture/tap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { GestureMatchResult, GestureRecognizer } from './gesture';

const DOUBLETAP_WINDOW = 300;
const DOUBLETAP_WINDOW = 200;

/**
* Recognizes tap vs doubletap from quick pointer-up events.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/dom/gesture/tests/gesture.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';

import { createDoubleTapGesture, createTapGesture } from '../create-tap-gesture';

const DOUBLETAP_WINDOW = 300;
const DOUBLETAP_WINDOW = 200;

function setup() {
const container = document.createElement('div');
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/dom/gesture/tests/tap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import type { GestureMatchResult, GestureType } from '../gesture';
import { TapRecognizer } from '../tap';

const DOUBLETAP_WINDOW = 300;
const DOUBLETAP_WINDOW = 200;

const NOOP_RECOGNIZER = { handleUp: () => {}, reset: () => {} };

Expand Down
Loading