Skip to main content

DRAG_EPOCH_BITS

Constant DRAG_EPOCH_BITS 

Source
const DRAG_EPOCH_BITS: u32 = 8;
Expand description

Number of low bits of EditorState::asset_epoch stamped into a drag payload. Eight is plenty: the stamp only has to survive one drag, and the epoch would have to advance 256 times mid-gesture to alias.