boosts: Separate icons so they aren't stacked (#1211)

* Seperate the boosts icons so they aren't stacked

Not sure exactly why this broke but settting the gap fixes it

* Update CombatIconsOverlay.java
This commit is contained in:
GROUNDBOI
2019-08-01 06:31:57 -04:00
committed by Kyleeld
parent cca17bf93e
commit bcc75c1e94

View File

@@ -3,6 +3,7 @@ package net.runelite.client.plugins.boosts;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import javax.inject.Inject;
@@ -59,6 +60,7 @@ class CombatIconsOverlay extends Overlay
panelComponent.getChildren().clear();
panelComponent.setPreferredSize(new Dimension(28, 0));
panelComponent.setGap(new Point(0, 18));
panelComponent.setWrapping(2);
panelComponent.setBackgroundColor(null);
panelComponent.setBorder(new Rectangle());