Skip to main content

DEFAULT_PADDING_PX

Constant DEFAULT_PADDING_PX 

Source
pub const DEFAULT_PADDING_PX: f32 = 6.0;
Expand description

Default frame padding, in screen pixels. Chosen so the handle discs clear the selection’s own bounds: a card never owns the pixels a handle is drawn on, which is what makes the chrome grabbable over a heavyweight child.