forked from External/mage
refactor: removed client side threads from a server, improved test log files rotation;
This commit is contained in:
parent
0470ae9799
commit
c5632f6868
6 changed files with 75 additions and 62 deletions
|
|
@ -10,6 +10,7 @@ import mage.client.SessionHandler;
|
|||
import mage.client.cards.BigCard;
|
||||
import mage.client.cards.CardEventProducer;
|
||||
import mage.client.components.MageComponents;
|
||||
import mage.client.components.MageUI;
|
||||
import mage.client.dialog.PreferencesDialog;
|
||||
import mage.client.game.GamePane;
|
||||
import mage.client.plugins.impl.Plugins;
|
||||
|
|
@ -187,7 +188,7 @@ public class MageActionCallback implements ActionCallback {
|
|||
private void showCardHintPopup(final TransferData data, final Component parentComponent, final Point parentPoint) {
|
||||
MageCard cardPanel = data.getComponent().getTopPanelRef();
|
||||
|
||||
ThreadUtils.threadPoolPopups.submit(new Runnable() {
|
||||
MageUI.threadPoolPopups.submit(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
ThreadUtils.sleep(tooltipDelay);
|
||||
|
|
@ -647,7 +648,7 @@ public class MageActionCallback implements ActionCallback {
|
|||
private void displayEnlargedCard(final CardView cardView, final TransferData data) {
|
||||
MageCard cardPanel = data.getComponent().getTopPanelRef();
|
||||
|
||||
ThreadUtils.threadPoolPopups.submit(() -> {
|
||||
MageUI.threadPoolPopups.submit(() -> {
|
||||
if (cardView == null) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue