mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
removed white-bordered sets hardcode
This commit is contained in:
@@ -40,6 +40,7 @@ import forge.Card;
|
|||||||
import forge.CounterType;
|
import forge.CounterType;
|
||||||
import forge.ImageCache;
|
import forge.ImageCache;
|
||||||
import forge.Singletons;
|
import forge.Singletons;
|
||||||
|
import forge.card.CardEdition;
|
||||||
import forge.gui.CardContainer;
|
import forge.gui.CardContainer;
|
||||||
import forge.gui.toolbox.CardFaceSymbols;
|
import forge.gui.toolbox.CardFaceSymbols;
|
||||||
import forge.properties.ForgePreferences.FPref;
|
import forge.properties.ForgePreferences.FPref;
|
||||||
@@ -332,18 +333,9 @@ public class CardPanel extends JPanel implements CardContainer {
|
|||||||
|
|
||||||
if (this.getGameCard() != null && (!this.getGameCard().getImageFilename().equals("none"))
|
if (this.getGameCard() != null && (!this.getGameCard().getImageFilename().equals("none"))
|
||||||
&& (!this.getGameCard().getName().equals("Morph"))) {
|
&& (!this.getGameCard().getName().equals("Morph"))) {
|
||||||
if ((this.getGameCard().getCurSetCode().equals("2ED"))
|
CardEdition ed = Singletons.getModel().getEditions().get(this.getGameCard().getCurSetCode());
|
||||||
|| (this.getGameCard().getCurSetCode().equals("3ED"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("4ED"))
|
if (ed != null && ed.isWhiteBorder()) {
|
||||||
|| (this.getGameCard().getCurSetCode().equals("5ED"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("6ED"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("7ED"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("8ED"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("9ED"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("CHR"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("S99"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("PTK"))
|
|
||||||
|| (this.getGameCard().getCurSetCode().equals("S00"))) {
|
|
||||||
if (!this.isSelected) {
|
if (!this.isSelected) {
|
||||||
g2d.setColor(Color.black);
|
g2d.setColor(Color.black);
|
||||||
final int offset = this.isTapped() ? 1 : 0;
|
final int offset = this.isTapped() ? 1 : 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user