Skip to main content

commit_phase

Function commit_phase 

Source
pub fn commit_phase() -> Option<f32>
Expand description

How far the remaining exit of a committed gesture has run, 0.0 at the commit and 1.0 when the screen has finished leaving.

The commit covers only the part of the transition the drag did not, so a deep drag lands almost at once, the way a Compose seek finishes.