Tooltip fix: Only treat enabled widgets as interactive

This commit is contained in:
Emil Ernerfeldt 2024-07-03 13:11:48 +02:00
parent 249b69d534
commit 47accb0eeb
1 changed files with 1 additions and 1 deletions

View File

@ -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 {