Skip to content

Conversation

@dronesflier
Copy link

This PR should resolve 270 and re-resolve #83. (.moved is not a function)

Copilot AI review requested due to automatic review settings August 21, 2025 07:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds defensive checks to prevent errors when the emitter object doesn't have the expected moved and ended methods, addressing issue #270 where ".moved is not a function" errors occur.

  • Added null/undefined checks before calling moved() and ended() methods on the emitter object
  • Extracted emitter calls to variables for better readability and to avoid duplicate function calls

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dronesflier dronesflier changed the title Check if emitter has already been set up Touch: Check if emitter has already been set up Aug 21, 2025
@dronesflier
Copy link
Author

dronesflier commented Aug 21, 2025

copilot what are you doing i didnt ask you to do anything

EDIT: I disabled that setting. Why I had it on in the first place is a mystery...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Android: Pointer on elevation graph Error multitouch emit undefined inside move function

1 participant