Skip to content

Feature: drag threshold#166

Open
dizzib wants to merge 3 commits into
X-SLAYER:mainfrom
dizzib:drag-threshold
Open

Feature: drag threshold#166
dizzib wants to merge 3 commits into
X-SLAYER:mainfrom
dizzib:drag-threshold

Conversation

@dizzib

@dizzib dizzib commented Aug 7, 2025

Copy link
Copy Markdown

I found finger taps were causing dragging to start unintentionally because the dragging threshold of 5 * 5 was too small. This PR fixes this issue with the following improvements…

  1. The default dragging threshold is increased from 5 * 5 physical pixels to 5 * 5 device independent pixels.
  2. Modified showOverlay to accept a dragThreshold parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant