From 6730954a2e56d86cf218d8571972cccd216b40ca Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 20 Aug 2021 00:16:03 -0400 Subject: [PATCH] Fixed particle effect icon offset --- tools/src/mindustry/tools/Generators.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/mindustry/tools/Generators.java b/tools/src/mindustry/tools/Generators.java index b1468997f2..416656cd33 100644 --- a/tools/src/mindustry/tools/Generators.java +++ b/tools/src/mindustry/tools/Generators.java @@ -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); }