Bug 1302736 - Fire click events with a clickCount of 2 when the user does a double-tap gesture with double taps not allowed. r=botond
MozReview-Commit-ID: 5qxHMoHXDXh
This commit is contained in:
@@ -93,7 +93,8 @@ AndroidContentController::HandleTap(TapType aType, const LayoutDevicePoint& aPoi
|
||||
// HandleTap). We want to post the SingleTap message once; it can be
|
||||
// done from either thread but we need access to the callback transform
|
||||
// so we do it from the main thread.
|
||||
if (NS_IsMainThread() && aType == TapType::eSingleTap) {
|
||||
if (NS_IsMainThread() &&
|
||||
(aType == TapType::eSingleTap || aType == TapType::eSecondTap)) {
|
||||
DispatchSingleTapToObservers(aPoint, aGuid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user