Popups background incorrectly used in New Project Wizard

GitOrigin-RevId: 3fe131a27a598ea1a8f2897e4ad57166f0ce834b
This commit is contained in:
Pavel Porvatov
2022-02-18 11:31:14 +03:00
committed by intellij-monorepo-bot
parent 7e340b59eb
commit 0f646dd473
2 changed files with 6 additions and 1 deletions

View File

@@ -130,7 +130,7 @@ public abstract class GroupedElementsRenderer implements Accessible {
@Override
protected Color getBackground() {
return ExperimentalUI.isNewUI() ? JBUI.CurrentTheme.Popup.BACKGROUND : UIUtil.getListBackground();
return UIUtil.getListBackground();
}
@Override

View File

@@ -85,6 +85,11 @@ public class PopupListElementRenderer<E> extends GroupedItemsListRenderer<E> {
return new GroupHeaderSeparator(labelInsets);
}
@Override
protected Color getBackground() {
return ExperimentalUI.isNewUI() ? JBUI.CurrentTheme.Popup.BACKGROUND : super.getBackground();
}
@Override
protected JComponent createItemComponent() {
createLabel();