Secondary click if statement inside a CentralPanel #714
Unanswered
AlbinSjoegren
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I am making a normal desktop env for my game and I use a CentralPanel for the background. I wanted to read if the player right-clicked somewhere inside the CentralPanel in order to show a pop-up menu. There is an Enum under egui::Response but I have as of yet found no way to use it.
I am fairly new to both rust and egui so the answer might be obvious but anyway here I am.
/Albin
Beta Was this translation helpful? Give feedback.
All reactions