mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
no invokeLater for paintCycleEnd (otherwise ballon hide may happen too late even with animation off)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user