INNER CODE UNIT · Rust
half_screen_height
David-OConnor/plascad · src/gui/sequence/mod.rs:162
let half_screen_height = screen_height / SPLIT_SCREEN_MAX_HEIGHT;
match state.ui.page_seq_top {
PageSeqTop::Primers => {
Frame::new().show(ui, |ui| {
ScrollArea::vertical()
.max_height(half_screen_height)
.id_salt(69)
.show(ui, |ui| primer_details(state, ui));
});
}
PageSeqTop::Features => {
Frame::new().show(ui, |ui| {
ScrollArea::vertical()
.max_height(half_screen_height)
.id_salt(70)
.show(ui, |ui| {
feature_table(state, ui);