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

fix: #60 update transform controls axes visual feedback to match threejs #64

Conversation

orivier3
Copy link
Contributor

@orivier3 orivier3 commented Jun 10, 2021

Why

Fixing issue 60#

What

As per the code of the original three js the visual feedback on the axes is managed simply by creating a couple of temporary variable for the colour and opacity. See here :
https://github.com/mrdoob/three.js/blob/d39d82999f0ac5cdd1b4eb9f4aba3f9626f32ab6/examples/jsm/controls/TransformControls.js#L1528-L1532
The _opacity and _color are simply temp variable that suffered from a refactoring error in this commit

Checklist

  • Storybook entry added
  • Ready to be merged

@vercel
Copy link

vercel bot commented Jun 10, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/three-stdlib/9EXqPGvs67xj9oJs9yq22jKv8exH
✅ Preview: https://three-stdlib-git-fork-orivier3-fix-60-update-tran-243d07-pmndrs.vercel.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 10, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 8a86f1b:

Sandbox Source
three-stdlib-ssr Configuration

@github-actions
Copy link

🎉 This PR is included in version 2.0.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants