CPP-28007 Allow animated spinner inside generator combobox popup

GitOrigin-RevId: 2e76fcee1651fa1e1dd5a9f2248b27ca20183e18
This commit is contained in:
Semyon Kolton
2022-01-12 13:23:36 +00:00
committed by intellij-monorepo-bot
parent 13cabb70e8
commit 5897b786e1
@@ -24,6 +24,8 @@ import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.Locale;
import static com.intellij.ui.AnimatedIcon.ANIMATION_IN_RENDERER_ALLOWED;
/**
* @author gregsh
*/
@@ -121,6 +123,7 @@ public class DarculaJBPopupComboPopup<T> implements ComboPopup, ComboBoxPopup.Co
list.setFont(myComboBox.getFont());
list.setForeground(myComboBox.getForeground());
list.setBackground(myComboBox.getBackground());
list.putClientProperty(ANIMATION_IN_RENDERER_ALLOWED, myComboBox.getClientProperty(ANIMATION_IN_RENDERER_ALLOWED));
}
@Override