Skip to content

Add some drag-and-drop-related APIs in Response and Memory#3876

Merged
emilk merged 2 commits intomasterfrom
antoine/drag_helper_api
Jan 24, 2024
Merged

Add some drag-and-drop-related APIs in Response and Memory#3876
emilk merged 2 commits intomasterfrom
antoine/drag_helper_api

Conversation

@abey79
Copy link
Copy Markdown
Collaborator

@abey79 abey79 commented Jan 23, 2024

This PR adds the following APIs, which I found to be missing while working on rerun-io/rerun#4879:

  • Response::decidedly_dragged(): tests if the corresponding widget is being decidedly dragged
  • Memory::dragged_id(): returns the ID of the dragged widget, if any

@abey79 abey79 added egui feature New feature or request rerun Desired for Rerun.io labels Jan 23, 2024
@emilk emilk merged commit 11c8912 into master Jan 24, 2024
@emilk emilk deleted the antoine/drag_helper_api branch January 24, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

egui feature New feature or request rerun Desired for Rerun.io

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants