Skip to content

Commit

Permalink
Tooltip fix: Only treat enabled widgets as interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jul 3, 2024
1 parent 249b69d commit 47accb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 47accb0

Please sign in to comment.