mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-169114 NPE at first Idea Community start (in ComponentSettings.isTrueSmoothScrollingEligibleFor(ComponentSettings.java:63))
This commit is contained in:
@@ -46,6 +46,7 @@ public class ComponentSettings {
|
||||
|
||||
// Returns whether "true smooth scrolling" is applicable to the particular component
|
||||
public boolean isTrueSmoothScrollingEligibleFor(Component component) {
|
||||
if (ApplicationManager.getApplication() == null) return false;
|
||||
return isSmoothScrollingSupported() &&
|
||||
!ApplicationManager.getApplication().isUnitTestMode() &&
|
||||
mySmoothScrollingEnabled &&
|
||||
|
||||
Reference in New Issue
Block a user