Skip to main content

update_hover

Function update_hover 

Source
pub fn update_hover(
    path: &HitPath<'_>,
    previous: Option<&Arc<dyn CustomNode>>,
) -> bool
Expand description

Updates the hover state of custom nodes after a pointer move.

Clears hover from the previously hovered node (if different) and sets it on the node under the pointer. Returns whether the hover target changed.