Closed
Bug 810364
Opened 12 years ago
Closed 12 years ago
[AccessFu] Record starting touch coordinate in gesture detection
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: eeejay, Assigned: eeejay)
Details
Attachments
(1 file)
941 bytes,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #680111 -
Flags: review?(dbolter)
Comment 2•12 years ago
|
||
Comment on attachment 680111 [details] [diff] [review]
Use startX as current X in touch adapter
Review of attachment 680111 [details] [diff] [review]:
-----------------------------------------------------------------
::: accessible/src/jsat/TouchAdapter.jsm
@@ +207,5 @@
> * of one single touch.
> */
> function TouchPoint(aTouch, aTime, aDPI) {
> + this.startX = this.x = aTouch.screenX;
> + this.startY = this.y = aTouch.screenY;
You can probably remove this check in the update function:
if (lastX != undefined && lastY != undefined)
(And possibly other cleanup)
Attachment #680111 -
Flags: review?(dbolter) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Assignee: nobody → eitan
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in
before you can comment on or make changes to this bug.
Description
•