mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed the foil effect in boosters not "unfoiling" itself for multiple cards with the same name in the same card set (e.g. in a booster box).
This commit is contained in:
@@ -81,7 +81,7 @@ public final class CardPicturePanel extends JPanel implements ImageFetcher.Callb
|
|||||||
|
|
||||||
final BufferedImage image = getImage();
|
final BufferedImage image = getImage();
|
||||||
if (image != null && image != this.currentImage) {
|
if (image != null && image != this.currentImage) {
|
||||||
if (displayed instanceof PaperCard && ((PaperCard) displayed).isFoil()) {
|
if (displayed instanceof PaperCard) {
|
||||||
ColorModel cm = image.getColorModel();
|
ColorModel cm = image.getColorModel();
|
||||||
boolean isAlphaPremultiplied = cm.isAlphaPremultiplied();
|
boolean isAlphaPremultiplied = cm.isAlphaPremultiplied();
|
||||||
WritableRaster raster = image.copyData(null);
|
WritableRaster raster = image.copyData(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user