add --light lightmode flag to previews and notedeck

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-06-14 11:12:16 -07:00
parent d064987e45
commit 577aa76ac7
5 changed files with 32 additions and 13 deletions

View File

@@ -32,8 +32,6 @@ impl PreviewApp {
impl eframe::App for PreviewApp {
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
egui::CentralPanel::default()
.frame(egui::Frame::none())
.show(ctx, |ui| self.view.ui(ui));
egui::CentralPanel::default().show(ctx, |ui| self.view.ui(ui));
}
}