From 3d2d239cec4e575ea60a34c1c199f9c717a788cc Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Mon, 4 Nov 2013 11:34:18 +0100 Subject: [PATCH] IDEA-115894 New git log looks scary on Retina + Java 7 --- .../log/ui/render/GraphCommitCellRender.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/GraphCommitCellRender.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/GraphCommitCellRender.java index 2f5c7a42eeb2..d8b2e8ddd021 100644 --- a/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/GraphCommitCellRender.java +++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/GraphCommitCellRender.java @@ -1,3 +1,18 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.intellij.vcs.log.ui.render; import com.intellij.openapi.vfs.VirtualFile; @@ -85,6 +100,6 @@ public class GraphCommitCellRender extends AbstractPaddingCellRender { } refPainter.draw(g2, refs, padding, -1); // TODO think how to behave if there are too many refs here (even if tags are collapsed) - g.drawImage(image, 0, 0, null); + UIUtil.drawImage(g, image, 0, 0, null); } }