IDEA-115894 New git log looks scary on Retina + Java 7

This commit is contained in:
Konstantin Bulenkov
2013-11-04 11:34:18 +01:00
parent a1f8ef4b0e
commit 3d2d239cec
@@ -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);
}
}