Skip to main content

split_percent

Function split_percent 

Source
pub fn split_percent(y: f64, top: f64, height: f64) -> f64
Expand description

The upper panel’s share of a stack height pixels tall whose top edge is at top, when the split bar is at y.