Skip to content

AngleMeasurement: Wrong measurement if initial unit is radian #727

Description

@danngo-onset

Describe the bug 📝

When the component is mounted, the unit is degree, if I switch to radian and start measuring, the measurements are still shown in degree. They’re not shown in radian until I switch the unit to radian again.
Image
Image

Reproduction ▶️

https://thatopen.github.io/engine_components/examples/AngleMeasurement/

Steps to reproduce 🔢

No response

System Info 💻

Chrome Version 146.0.7680.178 (Official Build) (arm64)

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions