mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Fix: Response.interact_pointer_pos is Some on click and drag released (#4014)
* Closes https://github.com/emilk/egui/issues/3999 In 0.26.0 is was accidentally set to `None` on the frame we got a click or drag release
This commit is contained in:
@@ -444,6 +444,9 @@ fn response_summary(response: &egui::Response, show_hovers: bool) -> String {
|
||||
if response.is_pointer_button_down_on() {
|
||||
writeln!(new_info, "pointer_down_on").ok();
|
||||
}
|
||||
if let Some(pos) = response.interact_pointer_pos() {
|
||||
writeln!(new_info, "response.interact_pointer_pos: {pos:?}").ok();
|
||||
}
|
||||
}
|
||||
|
||||
for &button in &[
|
||||
|
||||
Reference in New Issue
Block a user