From fefbe76f9c37ae18285d38b28661f06e4b5e1be0 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Mon, 24 Jun 2024 12:07:23 +0300 Subject: [PATCH] ui: content background and stroke --- src/gui/app.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/app.rs b/src/gui/app.rs index 6b0c22b..ad19a75 100644 --- a/src/gui/app.rs +++ b/src/gui/app.rs @@ -77,6 +77,7 @@ impl App { } else { egui::CentralPanel::default() .frame(egui::Frame { + fill: Colors::fill(), stroke: Stroke::NONE, ..Default::default() }) @@ -105,11 +106,13 @@ impl App { egui::Frame::default() } else { egui::Frame { + fill: Colors::fill(), + stroke: Stroke { width: 1.0, color: egui::Color32::from_gray(220) }, shadow: Shadow { offset: Default::default(), blur: Root::WINDOW_FRAME_MARGIN, spread: 0.5, - color: egui::Color32::from_black_alpha(25), + color: egui::Color32::from_black_alpha(35), }, rounding: Rounding { nw: 8.0,