Closed
Bug 822816
Opened 12 years ago
Closed 12 years ago
[AccessFu] Double tapping does not activate things in JellyBean
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: eeejay, Assigned: eeejay)
Details
Attachments
(1 file)
4.08 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•12 years ago
|
||
Remove unneeded mouse event listeners, and don't user 'hover' identifier when actual identifier is 0.
Attachment #693606 -
Flags: review?(dbolter)
Comment 2•12 years ago
|
||
Comment on attachment 693606 [details] [diff] [review] Fix double tap activation in jellybean. Review of attachment 693606 [details] [diff] [review]: ----------------------------------------------------------------- r=me ::: accessible/src/jsat/TouchAdapter.jsm @@ +122,5 @@ > for (var i = 0; i < changedTouches.length; i++) { > let touch = changedTouches[i]; > let touchPoint = new TouchPoint(touch, timeStamp, this._dpi); > + let identifier = (touch.identifier == undefined) ? > + this.HOVER_ID : touch.identifier; Oh, right because touch.identifier can be valid but falsey (facepalm).
Attachment #693606 -
Flags: review?(dbolter) → review+
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to David Bolter [:davidb] from comment #2) > Comment on attachment 693606 [details] [diff] [review] > Fix double tap activation in jellybean. > > Review of attachment 693606 [details] [diff] [review]: > ----------------------------------------------------------------- > > r=me > > ::: accessible/src/jsat/TouchAdapter.jsm > @@ +122,5 @@ > > for (var i = 0; i < changedTouches.length; i++) { > > let touch = changedTouches[i]; > > let touchPoint = new TouchPoint(touch, timeStamp, this._dpi); > > + let identifier = (touch.identifier == undefined) ? > > + this.HOVER_ID : touch.identifier; > > Oh, right because touch.identifier can be valid but falsey (facepalm). Yes, falseyness is tricky in js.
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/73ce12dc950b
Assignee: nobody → eitan
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/73ce12dc950b
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•