Skip to content
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

Add interactions control support on GLView #2465

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

AlexandreK38
Copy link
Contributor

Describe your changes

Hi!
I added a way to disable touch events on the GLView, and when you disable the events I cancel all current touches.
Any feedback is welcome.
I also plan to remove the same behavior I did on the AxmolSurfaceView as this solution is working for any platform. Does it work for you?

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

@halx99 halx99 merged commit fc0e527 into axmolengine:dev Mar 22, 2025
15 checks passed
@halx99 halx99 added this to the 2.5.0 milestone Mar 22, 2025
@halx99 halx99 added the enhancement New feature or request label Mar 22, 2025
@AlexandreK38
Copy link
Contributor Author

@halx99 hi! Sorry to disturb but since I did this PR the one for android only in java that you merge few weeks ago could be revert back, unless you still want it?

@halx99
Copy link
Collaborator

halx99 commented Mar 22, 2025

@halx99 hi! Sorry to disturb but since I did this PR the one for android only in java that you merge few weeks ago could be revert back, unless you still want it?

Yes, could be revert I think

@halx99 halx99 changed the title Disable interactions on GLView Add interactions control on GLView Mar 22, 2025
@halx99 halx99 changed the title Add interactions control on GLView Add interactions control support on GLView Mar 22, 2025
@AlexandreK38 AlexandreK38 deleted the glview-no-interactions branch March 22, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants