Skip to main content

FRAME_MAX_ZOOM

Constant FRAME_MAX_ZOOM 

Source
const FRAME_MAX_ZOOM: f32 = 2.0;
Expand description

Largest zoom a framing will apply — the navigator focusing one block, or a double-click fitting the level’s contents. Small content would otherwise balloon to fill the view, which reads as a jump rather than a fit. Explicit camera rects are not capped: a caller asking for a ten-cell window means it.