From fef43512614118befb4277618a7b9fa978c4fb03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Mon, 7 Dec 2015 20:05:19 +0100 Subject: [PATCH] IDEA-121334 Strange font in thumbnail toolwindow --- images/src/org/intellij/images/ui/ThumbnailComponentUI.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/src/org/intellij/images/ui/ThumbnailComponentUI.java b/images/src/org/intellij/images/ui/ThumbnailComponentUI.java index ddb4a663b2d5..49591b521988 100644 --- a/images/src/org/intellij/images/ui/ThumbnailComponentUI.java +++ b/images/src/org/intellij/images/ui/ThumbnailComponentUI.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2012 JetBrains s.r.o. + * Copyright 2000-2015 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. @@ -18,6 +18,7 @@ package org.intellij.images.ui; +import com.intellij.ide.ui.UISettings; import com.intellij.openapi.ui.Messages; import com.intellij.ui.JBColor; import com.intellij.util.ui.UIUtil; @@ -59,6 +60,7 @@ public class ThumbnailComponentUI extends ComponentUI { public void paint(Graphics g, JComponent c) { ThumbnailComponent tc = (ThumbnailComponent) c; if (tc != null) { + UISettings.setupAntialiasing(g); paintBackground(g, tc); if (tc.isDirectory()) {