We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4731aa6 commit 38e9a53Copy full SHA for 38e9a53
egui/src/context_menu.rs
@@ -15,7 +15,7 @@ pub struct ContextMenuSystem {
15
impl ContextMenuSystem {
16
/// sense if a context menu needs to be (re-)created or destroyed
17
fn sense_click(&mut self, response: &Response) -> MenuResponse {
18
- let response = response.interact(Sense::click_and_drag());
+ let response = response.interact(Sense::click());
19
let pointer = &response.ctx.input().pointer;
20
if pointer.any_click() {
21
if let Some(pos) = pointer.interact_pos() {
0 commit comments