mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Merge branch 'newBranch' into 'master'
remade border to have thin line edges See merge request core-developers/forge!2603
This commit is contained in:
@@ -113,7 +113,11 @@ public final class ImageKeys {
|
|||||||
}
|
}
|
||||||
//try fullborder...
|
//try fullborder...
|
||||||
if (filename.contains(".full")) {
|
if (filename.contains(".full")) {
|
||||||
file = findFile(dir, TextUtil.fastReplace(filename, ".full", ".fullborder"));
|
String fullborderFile = TextUtil.fastReplace(filename, ".full", ".fullborder");
|
||||||
|
file = findFile(dir, fullborderFile);
|
||||||
|
if (file != null) { return file; }
|
||||||
|
// if there's an art variant try without it
|
||||||
|
file = findFile(dir, TextUtil.fastReplace(fullborderFile, "1.fullborder", ".fullborder"));
|
||||||
if (file != null) { return file; }
|
if (file != null) { return file; }
|
||||||
}
|
}
|
||||||
//if an image, like phenomenon or planes is missing .full in their filenames but you have an existing images that have .full/.fullborder
|
//if an image, like phenomenon or planes is missing .full in their filenames but you have an existing images that have .full/.fullborder
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user