autocommit 2022-04-20 18:33:59 CEST
This commit is contained in:
parent
1227ede560
commit
34e665cd8b
9 changed files with 82 additions and 15 deletions
|
|
@ -177,7 +177,6 @@ impl Renderer<'_> {
|
|||
if let Some(tex) = placeholder.texture() {
|
||||
let x = x + (pos.width() - tex.width()) / 2;
|
||||
let y = y + (pos.height() - tex.height()) / 2;
|
||||
log::info!("render at {}x{}", x, y);
|
||||
self.render_texture(&tex, x, y, &ARGB8888);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue