Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

style(ui-egui): fill hidden layer well interior with theme field color

kobaltgitffdfa8b3f932
diff --git a/crates/ui-egui/src/panels.rs b/crates/ui-egui/src/panels.rs
index 2530e5b92..f6c2de510 100644
--- a/crates/ui-egui/src/panels.rs
+++ b/crates/ui-egui/src/panels.rs
@@ -3221,6 +3221,7 @@ fn layer_row(
if t.bevel {
crate::widgets::surface(ui, well, t.field, false);
} else {
+ painter.rect_filled(well, t.radius_sm, t.field);
let (hi, lo) = if t.dark() {
(Color32::from_black_alpha(65), Color32::from_white_alpha(35))
} else {