mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[cl.viewer] using common set icons on tabs.
This commit is contained in:
parent
185913fde3
commit
a453d3a6ac
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ public class ManaSymbols {
|
|||
}
|
||||
for (String set : CardsStorage.getSetCodes()) {
|
||||
String _set = set.equals("CON") ? "CFX" : set;
|
||||
File file = new File(Constants.RESOURCE_PATH_SET + _set + ".jpg");
|
||||
File file = new File(Constants.RESOURCE_PATH_SET + _set + "-C.jpg");
|
||||
try {
|
||||
Image image = UI.getImageIcon(file.getAbsolutePath()).getImage();
|
||||
int width = image.getWidth(null);
|
||||
|
|
|
@ -154,7 +154,7 @@ public class MageBook extends JComponent {
|
|||
if (setImage != null) {
|
||||
tab.setOverlayImage(setImage);
|
||||
} else {
|
||||
System.out.println("Couldn't find: " + "/plugins/images/sets/" + set + ".jpg");
|
||||
System.out.println("Couldn't find: " + "/plugins/images/sets/" + set + "-C.jpg");
|
||||
}
|
||||
tab.setBounds(0, y, 39, 120);
|
||||
final String _set = set;
|
||||
|
|
Loading…
Reference in a new issue