mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
V3.5.0 Distribute touch events independently (#10712)
* Distribute touch events independently * remove touch event cast * Fix the error of clang-tidy Co-authored-by: qiuguohua <862332094@qq.com>
This commit is contained in:
@@ -42,10 +42,10 @@ void OSInterface::dispatchEvent(const OSEvent& ev) {
|
||||
}
|
||||
}
|
||||
|
||||
void OSInterface::dispatchTouchEvent(const OSEvent& ev) {
|
||||
void OSInterface::dispatchTouchEvent(const TouchEvent& ev) {
|
||||
if (_evDispatchInterface) {
|
||||
_evDispatchInterface->dispatchTouchEvent(ev);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace cc
|
||||
} // namespace cc
|
||||
|
||||
Reference in New Issue
Block a user