mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Update CardImageRenderer.java
This commit is contained in:
@@ -724,7 +724,7 @@ public class CardImageRenderer {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (image == ImageCache.defaultImage || Forge.enableUIMask.equals("Art")) { //support drawing card image manually if card image not found
|
if (image == ImageCache.getDefaultImage() || Forge.enableUIMask.equals("Art")) { //support drawing card image manually if card image not found
|
||||||
drawCardImage(g, card, altState, x, y, w, h, CardStackPosition.Top, true, true);
|
drawCardImage(g, card, altState, x, y, w, h, CardStackPosition.Top, true, true);
|
||||||
} else {
|
} else {
|
||||||
float radius = (h - w)/8;
|
float radius = (h - w)/8;
|
||||||
|
|||||||
Reference in New Issue
Block a user