Fix color issue with Debugger::explain implementation for Renderer

This commit is contained in:
Mattia Guazzaloca 2021-11-03 22:48:13 +01:00
parent 8a2a7f7e21
commit 8782f45955

View file

@ -112,7 +112,7 @@ fn explain_layout(
background: Background::Color(Color::TRANSPARENT),
border_radius: 0.0,
border_width: 1.0,
border_color: [0.6, 0.6, 0.6, 0.5].into(),
border_color: color,
});
for child in layout.children() {