Fixed particle effect icon offset
This commit is contained in:
@@ -380,7 +380,7 @@ public class Generators{
|
|||||||
base.each((x, y) -> tint.setRaw(x, y, Color.muli(tint.getRaw(x, y), stat.color.rgba())));
|
base.each((x, y) -> tint.setRaw(x, y, Color.muli(tint.getRaw(x, y), stat.color.rgba())));
|
||||||
|
|
||||||
//outline the image
|
//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);
|
container.draw(base, 3, 3, true);
|
||||||
base = container.outline(Pal.gray, 3);
|
base = container.outline(Pal.gray, 3);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user