previews: remove central panel frame
This was adding padding we don't want Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
1 parent
bf7775467d
commit
54bf2a0767
1 file changed
+3
-1
+3
-1
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user