1
0
Fork 0
forked from wry/wry

autocommit 2022-05-01 21:44:09 CEST

This commit is contained in:
Julian Orth 2022-05-01 21:44:09 +02:00
parent cca3850800
commit 04580c4aeb
38 changed files with 815 additions and 124 deletions

View file

@ -196,7 +196,7 @@ impl Renderer<'_> {
let pos = placeholder.tl_data().pos.get();
self.fill_boxes(
std::slice::from_ref(&pos.at_point(x, y)),
&Color::from_rgba(20, 20, 20, 255),
&Color::from_rgba_straight(20, 20, 20, 255),
);
if let Some(tex) = placeholder.texture() {
let x = x + (pos.width() - tex.width()) / 2;