-
Notifications
You must be signed in to change notification settings - Fork 485
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
Make ImPlotAxisFlags_Lock disable axis mouse highlighting #372
Comments
That was a very unpleasant sound lol.
PS -- the flags passed on lines 336 and 337 will overwrite the flags passed on 335, in case you weren't aware |
Oops, thanks for that.
Oh alright, I got a bit confused about the axis flags.
I just want the label axes to not be movable and to not be highlighted when I cross my mouse over them. |
Hello again! 7a470b2 adds
I think hover highlighting and side switching should be separable. Highlighting can still suggest an axis is interactive (i.e. pannable, clickable) even if side switching is disabled. An argument might be made for implicitly disabling highlighting if |
As said in the title, I would like to propose a very simple change to make the 'dragging' (or highlighting) of an axis disabled while having the ImPlotAxisFlags_Lock set, I find it a bit confusing to have the axis locked and still being able to drag(/cross over it and getting highlighted resulting) in no move.
I have tried to look if there is already a way to do this but I couldn't find any (if there is already a way, sorry and please point it out).
This is a short video of what I'm talking about:
https://user-images.githubusercontent.com/7972857/175363916-f39b50e8-58a0-483b-a765-0c9e5f4dc321.mp4
The text was updated successfully, but these errors were encountered: