Move background rendering to Workspace

Per-output background-color doesn't work yet.
This commit is contained in:
Ivan Molodetskikh
2025-09-21 20:26:49 +03:00
parent d5f4e79e4c
commit a5e285865b
4 changed files with 56 additions and 42 deletions

View File

@@ -272,7 +272,7 @@ impl TestCase for Layout {
.monitor_for_output(&self.output)
.unwrap()
.render_elements(renderer, RenderTarget::Output, true)
.flat_map(|(_, iter)| iter)
.flat_map(|(_, _, iter)| iter)
.map(|elem| Box::new(elem) as _)
.collect()
}