notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit e2a2db8ac2e093e6b6c0b630267dca19808fc370
parent 792abf11d77e5989497a893f76d58b6ca1c4a964
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 20 Nov 2024 11:04:25 -0800

refactor: move save_cols closer

why you so far away little guy?

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/app.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app.rs b/src/app.rs @@ -824,7 +824,6 @@ fn timelines_view(ui: &mut egui::Ui, sizes: Size, app: &mut Damus) { ); }); - let mut save_cols = false; let mut responses = Vec::with_capacity(app.columns.num_columns()); for col_index in 0..app.columns.num_columns() { strip.cell(|ui| { @@ -842,6 +841,7 @@ fn timelines_view(ui: &mut egui::Ui, sizes: Size, app: &mut Damus) { //strip.cell(|ui| timeline::timeline_view(ui, app, timeline_ind)); } + let mut save_cols = false; for response in responses { let save = response.process_render_nav_response(app); save_cols = save_cols || save;