Skip to content

Feat add mesh to canvas pos helper#40

Merged
michealparks merged 11 commits intothrelte:mainfrom
mattmacf98:FEAT-add-mesh-to-canvas-pos-helper
Apr 16, 2026
Merged

Feat add mesh to canvas pos helper#40
michealparks merged 11 commits intothrelte:mainfrom
mattmacf98:FEAT-add-mesh-to-canvas-pos-helper

Conversation

@mattmacf98
Copy link
Copy Markdown
Contributor

@mattmacf98 mattmacf98 commented Apr 14, 2026

Description

This pr adds a helper function for browser based tests which use a real canvas to get the mesh's canvas position so users can make subsequent vitest browser functions to invoke clicks and other interaction to the canvas instead of using a direct invocation on the mesh itself with fireEvent

Testing

  • added the new test and ran it

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 14, 2026

🦋 Changeset detected

Latest commit: f3d2abb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@threlte/test Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Member

@michealparks michealparks left a comment

Choose a reason for hiding this comment

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

Thank you!

@michealparks michealparks merged commit 2258ede into threlte:main Apr 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants