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

@@ -195,7 +195,7 @@ public class GuiKeyframeTimeline extends GuiTimeline {
if(MouseUtils.isMouseWithinBounds(keyframeX - 2, this.positionY + BORDER_TOP + 10 + 1, 5, 5)) {
Point mouse = MouseUtils.getMousePos();
ReplayMod.tooltipRenderer.drawTooltip(mouse.getX(), mouse.getY(), marker.getName(), null, Color.WHITE.getRGB());
ReplayMod.tooltipRenderer.drawTooltip(mouse.getX(), mouse.getY(), marker.getName(), null, Color.WHITE);
drawn = true;
}