Split ui.rs into modules based on UI element #200
@ -685,7 +685,7 @@ impl Ui {
|
||||
Self::render_columns(mb.paragraphs, mb.columns, false, area, fr);
|
||||
}
|
||||
|
||||
fn render_main_frame(
|
||||
fn render_browse_frame(
|
||||
artists: &Collection,
|
||||
selection: &mut Selection,
|
||||
state: &AppPublicState,
|
||||
@ -815,7 +815,7 @@ impl IUi for Ui {
|
||||
let selection = app.inner.selection;
|
||||
let state = app.state;
|
||||
|
||||
Self::render_main_frame(collection, selection, &state, frame);
|
||||
Self::render_browse_frame(collection, selection, &state, frame);
|
||||
match state {
|
||||
AppState::Info(_) => Self::render_info_overlay(collection, selection, frame),
|
||||
AppState::Matches(public) => {
|
||||
|
Loading…
Reference in New Issue
Block a user