Don't pan past the edges of the page and don't delay dragging when the mouse has moved some

VERIFIED FIXED

Status

Fennec Graveyard
Panning/Zooming
VERIFIED FIXED
9 years ago
8 years ago

People

(Reporter: Stuart Parmenter, Unassigned)

Tracking

Trunk
x86
Windows XP

Details

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
Created attachment 328021 [details] [diff] [review]
fix

This fixes the problem with panning off the end or side of pages -- you don't want the Math.min().

This also makes it so we'll begin a drag if the mouse has moved >10 pixels away from where a click started while the start drag timer hasn't fired.  This gets rid of the drag delay and fixes the problem of clicks not registering by leaving the delay long enough.
Attachment #328021 - Flags: review?(gavin.sharp)
Attachment #328021 - Flags: review?(gavin.sharp) → review+
(Reporter)

Updated

9 years ago
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
verified with beta3
Status: RESOLVED → VERIFIED
Component: General → Panning/Zooming
You need to log in before you can comment on or make changes to this bug.