Skip to main content

pointer_norm_owner

Function pointer_norm_owner 

Source
pub fn pointer_norm_owner(store: &NodeStore, target: NodeId) -> NodeId
Expand description

The node whose box a pointer event’s norm is relative to: the capture_owner of the target (the control that captures, or already captured, the drag: captured events target that owner, a capturing PointerDown may target a child such as a thumb), else the target itself.