From d4db431fffe75c7f201db92ea403c391baab5b5a Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 20 Apr 2016 15:05:46 +0300 Subject: [PATCH] inspection tool window: remove hack for transparent editor pane from InspectionNodeInfo --- .../com/intellij/codeInspection/ui/InspectionNodeInfo.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionNodeInfo.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionNodeInfo.java index 3b47177d233a..967c2b71ff26 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionNodeInfo.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionNodeInfo.java @@ -21,7 +21,6 @@ import com.intellij.codeInspection.ex.InspectionProfileImpl; import com.intellij.codeInspection.ex.InspectionToolWrapper; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; -import com.intellij.openapi.util.registry.Registry; import com.intellij.profile.codeInspection.InspectionProjectProfileManager; import com.intellij.profile.codeInspection.ui.SingleInspectionProfilePanel; import com.intellij.ui.*; @@ -78,10 +77,6 @@ public class InspectionNodeInfo extends JPanel { description.setContentType(UIUtil.HTML_MIME); description.setEditable(false); description.setOpaque(false); - if (Registry.is("ide.scroll.background.auto")) { - description.setBackground(UIUtil.getLabelBackground()); - description.setForeground(UIUtil.getLabelForeground()); - } description.addHyperlinkListener(BrowserHyperlinkListener.INSTANCE); final String toolDescription = toolWrapper.loadDescription(); SingleInspectionProfilePanel.readHTML(description, SingleInspectionProfilePanel.toHTML(description, toolDescription == null ? "" : toolDescription, false));