-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed #17866: [bug] EventTouch.getUIDelta return wrong delta values on native platforms #17895
base: v3.8.5
Are you sure you want to change the base?
Conversation
…ues on native platforms
clientY: 0, | ||
pageX: 0, | ||
pageY: 0, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can assign the value with src.
👍 Package size ⤵ -11 bytes, old: 5376156, new: 5376145Interface Check ReportThis pull request does not change any public interfaces ! |
} | ||
|
||
private _createEventCacheCallback$ (eventType: InputEventType) { | ||
return (mouseEvent?: jsb.MouseEvent | jsb.MouseWheelEvent): void => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why mouseEvent is optional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FOR MouseEnter and MouseLeave, they dont have event info and only have type
@cocos-robot run test cases |
@dumganhar, Please check the result of
Task Details |
@dumganhar, Please check the result of
Task Details |
Re: #17866
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: