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

IsAnnotationHovered() or equivalent #547

Open
fecaltransplant opened this issue Dec 22, 2023 · 0 comments
Open

IsAnnotationHovered() or equivalent #547

fecaltransplant opened this issue Dec 22, 2023 · 0 comments

Comments

@fecaltransplant
Copy link

Hi,

This is the second time I'm bothering you, but you were quite helpful last time and now I'm back. If the below has been answered elsewhere, please excuse the redundancy; I've done what I thought was a reasonably-thorough check of what's been asked as well as meandering through the ImPlot and demo source code.

I'm using the annotation feature which is working great. Is there an equivalent of ImGui::IsItemHovered() for the annotation? I would like to be able to select it for deletion or to drag it so that the text can be moved as seen below:

before

and adjust the text to a new position (by dragging):

after

If there is no equivalent IsItemHovered() feature for annotation, would there be another avenue you'd recommend to adjust these positions of annotated items?

Thanks!

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

No branches or pull requests

1 participant