Move chain to upper chain in render loop
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
This commit is contained in:
parent
b9ecc3c2d4
commit
d7dfe2e3b6
|
@ -622,14 +622,14 @@ impl Space {
|
|||
layer_map
|
||||
.layers_on(WlrLayer::Background)
|
||||
.map(|l| l as &SpaceElem<R>)
|
||||
)
|
||||
.chain(
|
||||
custom_elements
|
||||
.iter()
|
||||
.filter(|c| c.layer() == RenderLayer::AboveBackground)
|
||||
.map(|c| c as &SpaceElem<R>),
|
||||
)
|
||||
.chain(layer_map.layers_on(WlrLayer::Bottom).map(|l| l as &SpaceElem<R>)),
|
||||
)
|
||||
.chain(layer_map.layers_on(WlrLayer::Bottom).map(|l| l as &SpaceElem<R>))
|
||||
.chain(
|
||||
custom_elements
|
||||
.iter()
|
||||
|
|
Loading…
Reference in New Issue