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

Zoom to Cursor not working #200

Closed
amcdnl opened this issue Mar 6, 2024 · 0 comments · Fixed by #206
Closed

Zoom to Cursor not working #200

amcdnl opened this issue Mar 6, 2024 · 0 comments · Fixed by #206
Assignees

Comments

@amcdnl
Copy link
Member

amcdnl commented Mar 6, 2024

Describe the bug

Zoom should go to the cursor, not middle of screen.

https://github.com/reaviz/reagraph/blob/master/src/CameraControls/CameraControls.tsx#L305

Steps to Reproduce the Bug or Issue

  • Get a large graph
  • Position cursor in bottom right
  • Zoom
  • Note it doesn't zoom to cursor

Expected behavior

it zooms to cursor

Screenshots or Videos

No response

Platform

  • Reagraph Version: [e.g. 1.0.0]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • NodeJS version: ...

Your Example Website or App

No response

Additional context

No response

@ghsteff ghsteff mentioned this issue Mar 14, 2024
2 tasks
@ghsteff ghsteff linked a pull request Mar 14, 2024 that will close this issue
2 tasks
@ghsteff ghsteff self-assigned this Mar 14, 2024
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 a pull request may close this issue.

2 participants