Skip to main content

IMAGE_VIEWPORT_FRACTION

Constant IMAGE_VIEWPORT_FRACTION 

pub const IMAGE_VIEWPORT_FRACTION: f64 = 0.6; // 0.59999999999999998f64
Expand description

The share of the host’s visible height an image preview may take at most, aspect kept: a large picture never fills the editor.