Use new Layer in draw_overlay
This commit is contained in:
parent
b68ac3aa47
commit
40e9a2f6ae
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ impl Renderer {
|
|||
layers: &mut Vec<Layer<'a>>,
|
||||
) {
|
||||
let first = layers.first().unwrap();
|
||||
let mut overlay = Layer::new(first.bounds, 0);
|
||||
let mut overlay = Layer::new(first.bounds, Vector::new(0, 0));
|
||||
|
||||
let font_id =
|
||||
wgpu_glyph::FontId(self.glyph_brush.borrow().fonts().len() - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue