mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Fix building on stable
This commit is contained in:
+3
-2
@@ -414,7 +414,7 @@ impl<W: LayoutElement> Tile<W> {
|
||||
}
|
||||
}
|
||||
|
||||
fn render_snapshot<C>(
|
||||
fn render_snapshot<E, C>(
|
||||
&self,
|
||||
renderer: &mut GlesRenderer,
|
||||
scale: Scale<f64>,
|
||||
@@ -422,7 +422,8 @@ impl<W: LayoutElement> Tile<W> {
|
||||
contents: Vec<C>,
|
||||
) -> Vec<TileSnapshotRenderElement>
|
||||
where
|
||||
C: ToRenderElement<RenderElement: Into<TileSnapshotRenderElement>>,
|
||||
E: Into<TileSnapshotRenderElement>,
|
||||
C: ToRenderElement<RenderElement = E>,
|
||||
{
|
||||
let alpha = if self.is_fullscreen {
|
||||
1.
|
||||
|
||||
Reference in New Issue
Block a user