make getPanelBackground() return variable color

This commit is contained in:
Konstantin Bulenkov
2019-01-20 20:09:12 +01:00
parent 6ba953a9a3
commit 0e9aa6ac1f
@@ -1,4 +1,4 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.ui;
import com.intellij.BundleBase;
@@ -1259,7 +1259,7 @@ public class UIUtil {
}
public static Color getPanelBackground() {
return UIManager.getColor("Panel.background");
return JBColor.PanelBackground;
}
public static Color getEditorPaneBackground() {