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

Graph remains on screen when graph is cleared #1404

Closed
jacomyal opened this issue Jan 30, 2024 · 0 comments
Closed

Graph remains on screen when graph is cleared #1404

jacomyal opened this issue Jan 30, 2024 · 0 comments
Assignees
Labels

Comments

@jacomyal
Copy link
Owner

This bug occurs with the latest v3.0.0-beta.4.

How to reproduce

  1. In examples/events/index.ts, add setTimeout(() => graph.clear(), 1000); at the end
  2. Start the events example
  3. Wait for one second

Expected behavior

After one second, the whole graph disappears

Current behavior

After one second, everything stays displayed, but I can't interact with anything anymore :

Peek 2024-01-30 15-08

@jacomyal jacomyal self-assigned this Jan 30, 2024
jacomyal added a commit that referenced this issue Jan 30, 2024
This commit fixes #1404.
Basically, when picking was enabled, sometimes we were cleaning the
wrong buffer.
@jacomyal jacomyal closed this as completed Feb 3, 2024
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