mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix so card text shows up properly in details pane
This commit is contained in:
@@ -267,7 +267,7 @@ public class CardImageRenderer {
|
||||
g.drawImage(image, x + (w - iconSize) / 2, y + (h - iconSize) / 2, iconSize, iconSize);
|
||||
}
|
||||
else {
|
||||
final String text = card.getOriginal().getText();
|
||||
final String text = card.getText();
|
||||
if (StringUtils.isEmpty(text)) { return; }
|
||||
|
||||
float padding = TEXT_FONT.getCapHeight() * 0.75f;
|
||||
|
||||
Reference in New Issue
Block a user