notedeck

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

commit 69a8438f33a7cadd8092a582c7810d4aad6dbfce
parent 3fc73bb6013bb3e05d47864dfaff014051d6580d
Author: William Casarin <jb55@jb55.com>
Date:   Mon,  1 Jul 2024 07:31:43 -0700

cleanup some dead code

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

Diffstat:
Msrc/app.rs | 19-------------------
1 file changed, 0 insertions(+), 19 deletions(-)

diff --git a/src/app.rs b/src/app.rs @@ -1102,25 +1102,6 @@ fn timelines_view(ui: &mut egui::Ui, sizes: Size, app: &mut Damus, timelines: us }); } -/* -fn postbox(ui: &mut egui::Ui, app: &mut Damus) { - let _output = egui::TextEdit::multiline(&mut app.compose) - .hint_text("Type something!") - .show(ui); - - let width = ui.available_width(); - let height = 100.0; - let shapes = [Shape::Rect(RectShape { - rect: epaint::Rect::from_min_max(pos2(10.0, 10.0), pos2(width, height)), - rounding: epaint::Rounding::same(10.0), - fill: Color32::from_rgb(0x25, 0x25, 0x25), - stroke: Stroke::new(2.0, Color32::from_rgb(0x39, 0x39, 0x39)), - })]; - - ui.painter().extend(shapes); -} - */ - impl eframe::App for Damus { /// Called by the frame work to save state before shutdown. fn save(&mut self, _storage: &mut dyn eframe::Storage) {