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

Correctly project drag deltas in the DragEvents #2843

Closed
spydon opened this issue Nov 6, 2023 · 0 comments · Fixed by #2871
Closed

Correctly project drag deltas in the DragEvents #2843

spydon opened this issue Nov 6, 2023 · 0 comments · Fixed by #2871
Labels

Comments

@spydon
Copy link
Member

spydon commented Nov 6, 2023

Current bug behavior

When we moved to the CameraComponent it seems like we missed to implement projection of the drag deltas which is causing the drag events to only give the global data.

Expected behavior

It should work with zoom levels and viewports etc.

Steps to reproduce

Set a zoom level and drag across a component with DragCallbacks.

More environment information

  • Flame version: 1.10.1
  • Platform affected: all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant