mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Separated delay timing for tooltip (to give some time for jeditorpane to reload html)
This commit is contained in:
parent
e2ae25313e
commit
1a0d10f563
1 changed files with 2 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ public class MageActionCallback implements ActionCallback {
|
|||
ThreadUtils.threadPool2.submit(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
ThreadUtils.sleep(900);
|
||||
ThreadUtils.sleep(700);
|
||||
|
||||
if (!popupCard.equals(data.card)) {
|
||||
return;
|
||||
|
|
@ -157,6 +157,7 @@ public class MageActionCallback implements ActionCallback {
|
|||
location = GuiDisplayUtil.keepComponentInsideParent(location, parentPoint, popup2, parentComponent);
|
||||
location.translate(-parentPoint.x, -parentPoint.y);
|
||||
popup2.setLocation(location);
|
||||
ThreadUtils.sleep(200);
|
||||
popup2.setVisible(true);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue