summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java
index c1168f17f3..632114faac 100644
--- a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java
+++ b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java
@@ -170,9 +170,9 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color>
}
if (ref.getPeeledObjectId() != null) {
float[] colorComponents = g.getBackground().getRGBColorComponents(null);
- colorComponents[0] *= 0.9;
- colorComponents[1] *= 0.9;
- colorComponents[2] *= 0.9;
+ colorComponents[0] *= 0.9f;
+ colorComponents[1] *= 0.9f;
+ colorComponents[2] *= 0.9f;
g.setBackground(new Color(colorComponents[0],colorComponents[1],colorComponents[2]));
}
if (txt.length() > 12)