Tooltip fix: Only treat enabled widgets as interactive
This commit is contained in:
parent
249b69d534
commit
47accb0eeb
|
@ -632,7 +632,7 @@ impl Response {
|
||||||
vp.prev_frame
|
vp.prev_frame
|
||||||
.widgets
|
.widgets
|
||||||
.get_layer(layer_id)
|
.get_layer(layer_id)
|
||||||
.any(|w| w.sense.interactive())
|
.any(|w| w.enabled && w.sense.interactive())
|
||||||
});
|
});
|
||||||
|
|
||||||
if tooltip_has_interactive_widget {
|
if tooltip_has_interactive_widget {
|
||||||
|
|
Loading…
Reference in New Issue