Browse Source

Tooltip fix: Only treat enabled widgets as interactive

pull/4769/head
Emil Ernerfeldt 4 months ago
parent
commit
47accb0eeb
  1. 2
      crates/egui/src/response.rs

2
crates/egui/src/response.rs

@ -632,7 +632,7 @@ impl Response {
vp.prev_frame
.widgets
.get_layer(layer_id)
.any(|w| w.sense.interactive())
.any(|w| w.enabled && w.sense.interactive())
});
if tooltip_has_interactive_widget {

Loading…
Cancel
Save