Merge pull request #1109 from mettz/master

Fix color issue with Debugger::explain implementation for Renderer
This commit is contained in:
Héctor Ramón 2021-11-04 14:37:40 +07:00 committed by GitHub
commit 61c747b535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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() {