no invokeLater for paintCycleEnd (otherwise ballon hide may happen too late even with animation off)

This commit is contained in:
Egor.Ushakov
2016-01-13 18:38:00 +03:00
parent f216063703
commit 8e59641f2e
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -106,14 +106,9 @@ public abstract class Animator implements Disposable {
}
private void animationDone() {
ApplicationManager.getApplication().assertIsDispatchThread();
stopTicker();
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
paintCycleEnd();
}
});
paintCycleEnd();
}
private void stopTicker() {