Skip to content

Fix preview coordinate updates during camera movement#239

Open
Da7-Tech wants to merge 1 commit into
hytopiagg:mainfrom
Da7-Tech:fix-preview-coordinate-camera-updates
Open

Fix preview coordinate updates during camera movement#239
Da7-Tech wants to merge 1 commit into
hytopiagg:mainfrom
Da7-Tech:fix-preview-coordinate-camera-updates

Conversation

@Da7-Tech
Copy link
Copy Markdown

Summary

  • Recalculate the block preview position when the camera moves, not only when the mouse moves or placement is active.
  • Keeps the DebugInfo preview coordinate display in sync for normal tool use before the wall tool has been used.

Fixes

Closes #24

Verification

  • npm ci could not run because the upstream package lock is out of sync with package.json (lucide-react@0.563.0 is missing from the lock file).
  • npm install --no-package-lock
  • npm run build -> succeeded with existing warnings.
  • git diff --check

PayPal for bounty payout if accepted: aa.631@hotmail.com

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

@Da7-Tech is attempting to deploy a commit to the Hytopia Team on Vercel.

A member of the Team first needs to authorize it.

@Da7-Tech
Copy link
Copy Markdown
Author

Local verification completed after opening the PR:

  • npm run build succeeded.
  • git diff --check passed.

The current Vercel failure appears to be the standard external contributor authorization gate, not a build failure from this branch.

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.

[BUG] Preview Coordinate Display Doesn’t Update Until Wall Tool Is Used

1 participant