{"thread":{"id":"16141","subject":"[EGIT PATCH 1/1] Respect background when drawing history in SWT.","startedAt":"2008-11-02T23:38:59Z","lastAt":"2008-11-02T23:38:59Z","messageCount":1,"participants":["Robin Rosenberg"],"isPatch":true,"patchVersion":1,"patchTotal":1},"messages":[{"id":"94704","messageId":"200811030039.00218.robin.rosenberg@dewire.com","threadId":"16141","inReplyTo":null,"subject":"[EGIT PATCH 1/1] Respect background when drawing history in SWT.","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg@dewire.com","sentAt":"2008-11-02T23:38:59Z","receivedAt":"2008-11-02T23:38:59Z","isPatch":true,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"Use transparent text background for drawing text to make the history\nlook nice when there is a background pattern or effects like alternating\nbackground colors for each row.\n\nSigned-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>\n---\n .../egit/ui/internal/history/SWTPlotRenderer.java  |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java\nindex 23ec255..c4ee282 100644\n--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java\n+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java\n@@ -89,7 +89,7 @@ protected void drawText(final String msg, final int x, final int y) {\n \t\tfinal int texty = (y * 2 - textsz.y) / 2;\n \t\tg.setForeground(cellFG);\n \t\tg.setBackground(cellBG);\n-\t\tg.drawString(msg, cellX + x, cellY + texty);\n+\t\tg.drawString(msg, cellX + x, cellY + texty, true);\n \t}\n \n \tprotected Color laneColor(final SWTLane myLane) {\n-- \n1.6.0.3.578.g6a50\n"}]}