mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Foil cards will now be drawn with black border no matter what edition they are from (this currently has the side effect of drawing early core set foils with a black border around a thin white border already present in the picture - will probably be remedied later in one way or another).
- Updated the loading progress bar to account for the extra foil sprite sheet.
This commit is contained in:
@@ -530,7 +530,7 @@ public enum FSkin {
|
||||
// Everything OK?
|
||||
|
||||
final FProgressBar barProgress = FView.SINGLETON_INSTANCE.getSplash().getProgressBar();
|
||||
setProgessBarMessage("Processing image sprites: ", 4);
|
||||
setProgessBarMessage("Processing image sprites: ", 5);
|
||||
|
||||
|
||||
// Grab and test various sprite files.
|
||||
|
||||
@@ -342,7 +342,7 @@ public class CardPanel extends JPanel implements CardContainer {
|
||||
// White border if card is known to have it.
|
||||
if (this.getGameCard() != null && !this.getGameCard().isFaceDown()) {
|
||||
CardEdition ed = Singletons.getModel().getEditions().get(this.getGameCard().getCurSetCode());
|
||||
if (ed != null && ed.isWhiteBorder()) {
|
||||
if (ed != null && ed.isWhiteBorder() && this.getGameCard().getFoil() == 0) {
|
||||
g2d.setColor(Color.white);
|
||||
int ins = 1;
|
||||
g2d.fillRoundRect(this.cardXOffset + ins, this.cardYOffset + ins, this.cardWidth - ins*2, this.cardHeight - ins*2, cornerSize-ins, cornerSize-ins);
|
||||
|
||||
Reference in New Issue
Block a user