morphDragCommitDistance top-level constant

double const morphDragCommitDistance

Default commit threshold for MorphFlight.endDrag: releasing with a projected displacement farther than this (in px, any direction) commits the close flight. Distance-based and direction-agnostic: flinging the card anywhere reads as "throw it away".

Implementation

const double morphDragCommitDistance = 140;