forked from External/mage
Fixed a bug that during sideboarding the display of the card the mouse hoovered on did stop to show in the big card panel.
This commit is contained in:
parent
62b92f1c5d
commit
4bd4ad3d8a
5 changed files with 53 additions and 36 deletions
|
|
@ -61,9 +61,7 @@ import mage.client.constants.Constants.DeckEditorMode;
|
|||
import static mage.client.constants.Constants.DeckEditorMode.Constructed;
|
||||
import static mage.client.constants.Constants.DeckEditorMode.Limited;
|
||||
import static mage.client.constants.Constants.DeckEditorMode.Sideboard;
|
||||
import mage.client.constants.Constants.SortBy;
|
||||
import mage.client.dialog.AddLandDialog;
|
||||
import mage.client.dialog.PreferencesDialog;
|
||||
import mage.client.plugins.adapters.MageActionCallback;
|
||||
import mage.client.plugins.impl.Plugins;
|
||||
import mage.client.util.Event;
|
||||
|
|
@ -142,9 +140,9 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
}
|
||||
this.cardSelector.cleanUp();
|
||||
this.deckArea.cleanUp();
|
||||
|
||||
this.remove(bigCard);
|
||||
this.bigCard = null;
|
||||
((MageActionCallback) Plugins.getInstance().getActionCallback()).setCardPreviewComponent(null);
|
||||
}
|
||||
|
||||
public void showDeckEditor(DeckEditorMode mode, Deck deck, UUID tableId, int time) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue