Skip to main content

root_node_and_mark_as_having_animated

Function root_node_and_mark_as_having_animated 

Source
fn root_node_and_mark_as_having_animated(
    rooted_nodes: &mut FxHashMap<NoTrace<OpaqueNode>, Dom<Node>>,
    opaque_node: OpaqueNode,
)
Expand description

Inserts [opaque_node] into [rooted_nodes], if it isn’t already present. This should be called immediately after a restyle, to ensure that these addresses are still valid.