Skip to main content

SAFE_RADIUS

Constant SAFE_RADIUS 

Source
pub const SAFE_RADIUS: f32 = 0.49;
Expand description

Everything an icon draws stays inside this radius, as a fraction of the tile’s width — the tile’s own inscribed circle, less a hair.

Not a stylistic margin: uploaders that show a square icon in a round frame crop to exactly this circle, so anything outside it is a mark that some places show and others silently cut. One layout satisfies both frames, which is why a round icon here is the same mark as the square one with a different crate::paint::Cut rather than a mark of its own.