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

[BUG] joystick locked on Y returning wrong angle #139

Open
darkworks opened this issue Mar 19, 2020 · 0 comments
Open

[BUG] joystick locked on Y returning wrong angle #139

darkworks opened this issue Mar 19, 2020 · 0 comments
Labels

Comments

@darkworks
Copy link

darkworks commented Mar 19, 2020

Describe the bug
i noticed the bug that when we lock the joystick on Y axis it still return angle so i think it will be good if it not return angle from x axis when its locked on Y.

To Reproduce
Steps to reproduce the behavior:

  1. download : https://github.com/yoannmoinet/nipplejs/blob/master/example/dual-joysticks.html
  2. Lock the 2nd joystick on Y
  3. move the mouse towards X axis
  4. you will see that angle is displayed of axis too although UI is locked on Y

screenshot :

image
image

Desktop (please complete the following information):

  • OS: windows 7
  • Browser chrome
  • Version latest
@darkworks darkworks added the bug label Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant