Add method to TooltipRenderer which accepts Color instead of ARGB int

This commit is contained in:
johni0702
2015-06-10 18:48:48 +02:00
parent 05cc37adcc
commit f1327dbdc1
9 changed files with 19 additions and 11 deletions

View File

@@ -127,7 +127,7 @@ public class GuiDropdown<T> extends GuiTextField {
}
if(drawHover) {
ReplayMod.tooltipRenderer.drawTooltip(hoverPos.getX(), hoverPos.getY(), hoverText, null, Color.WHITE.getRGB());
ReplayMod.tooltipRenderer.drawTooltip(hoverPos.getX(), hoverPos.getY(), hoverText, null, Color.WHITE);
}
}
}