mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-23 15:01:17 +00:00
!1500 移除ClearCacheEventsAndMsg接口内部的RemoveEvent逻辑,解决频繁收到move场景下的耗时问题
Merge pull request !1500 from taojuncun/bug_1025_01
This commit is contained in:
commit
42edf38a0d
@ -219,7 +219,6 @@ void AccessibilityZoomGesture::ClearCacheEventsAndMsg()
|
|||||||
lastDownEvent_ = nullptr;
|
lastDownEvent_ = nullptr;
|
||||||
preLastUpEvent_ = nullptr;
|
preLastUpEvent_ = nullptr;
|
||||||
lastUpEvent_ = nullptr;
|
lastUpEvent_ = nullptr;
|
||||||
zoomGestureEventHandler_->RemoveEvent(MULTI_TAP_MSG);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccessibilityZoomGesture::RecognizeInReadyState(MMI::PointerEvent &event)
|
void AccessibilityZoomGesture::RecognizeInReadyState(MMI::PointerEvent &event)
|
||||||
|
Loading…
Reference in New Issue
Block a user