Skip to content

Conversation

@amcdnl
Copy link
Member

@amcdnl amcdnl commented Sep 11, 2025

This PR:

  • Replaced the deprecated getWorldPosition() with the modern setFromMatrixPosition() API at src/utils/useDrag.ts:61.

…rixPosition() API at src/utils/useDrag.ts:61.
@amcdnl amcdnl self-assigned this Sep 11, 2025
@netlify
Copy link

netlify bot commented Sep 11, 2025

Deploy Preview for reagraph ready!

Name Link
🔨 Latest commit 26484b7
🔍 Latest deploy log https://app.netlify.com/projects/reagraph/deploys/68c303b66af7540008087ef6
😎 Deploy Preview https://deploy-preview-383--reagraph.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 updates deprecated Three.js APIs to modern equivalents. The change replaces the deprecated getWorldPosition() method with the modern setFromMatrixPosition() API in the drag handling logic.

  • Replaces deprecated getWorldPosition() with setFromMatrixPosition() for extracting world position

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

@amcdnl amcdnl merged commit 3d4a488 into master Sep 11, 2025
5 checks passed
@amcdnl amcdnl deleted the deprecated-apis-update branch September 11, 2025 17:35
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