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