mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-06 07:30:35 +07:00
Fixed particle effect icon offset
This commit is contained in:
parent
d03049799e
commit
6730954a2e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user