notedeck

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

commit 54bf2a0767a8c8b4d34d839a62438310cee806d0
parent bf7775467d2292386516d04ac5d9dd5063b8fe31
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 21 Apr 2024 13:42:49 -0700

previews: remove central panel frame

This was adding padding we don't want

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

Diffstat:
Msrc/ui/preview.rs | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/ui/preview.rs b/src/ui/preview.rs @@ -28,6 +28,8 @@ impl PreviewApp { impl eframe::App for PreviewApp { fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { - egui::CentralPanel::default().show(ctx, |ui| self.view.ui(ui)); + egui::CentralPanel::default() + .frame(egui::Frame::none()) + .show(ctx, |ui| self.view.ui(ui)); } }