INNER CODE UNIT · Rust
seq_page
David-OConnor/plascad · src/gui/sequence/mod.rs:148
pub fn seq_page(state: &mut State, ui: &mut Ui) {
ui.horizontal(|ui| {
page_seq_top_selector(state, ui);
ui.add_space(COL_SPACING);
feature_from_sel(state, ui);
// Sliders to edit the feature.
feature_range_sliders(state, ui);
});
// Limit the top section height.
let screen_height = ui.ctx().content_rect().height();
let half_screen_height = screen_height / SPLIT_SCREEN_MAX_HEIGHT;
match state.ui.page_seq_top {
PageSeqTop::Primers => {