1
0
Fork 0
forked from wry/wry

autocommit 2022-04-20 18:33:59 CEST

This commit is contained in:
Julian Orth 2022-04-20 18:33:59 +02:00
parent 1227ede560
commit 34e665cd8b
9 changed files with 82 additions and 15 deletions

View file

@ -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);
}
}