Fixed particle effect icon offset

This commit is contained in:
Anuken 2021-08-20 00:16:03 -04:00
parent d03049799e
commit 6730954a2e

View File

@ -380,7 +380,7 @@ public class Generators{
base.each((x, y) -> tint.setRaw(x, y, Color.muli(tint.getRaw(x, y), stat.color.rgba())));
//outline the image
Pixmap container = new Pixmap(38, 38);
Pixmap container = new Pixmap(tint.width + 6, tint.height + 6);
container.draw(base, 3, 3, true);
base = container.outline(Pal.gray, 3);
}