Update ImageKeys.java

This commit is contained in:
Anthony Calosa
2020-04-13 12:55:13 +00:00
parent d1cc547239
commit 5649ac6d7d

View File

@@ -120,7 +120,7 @@ public final class ImageKeys {
file = findFile(dir, TextUtil.fastReplace(fullborderFile, "1.fullborder", ".fullborder")); file = findFile(dir, TextUtil.fastReplace(fullborderFile, "1.fullborder", ".fullborder"));
if (file != null) { return file; } if (file != null) { return file; }
// if there's a 1st art variant try without it for .full images // if there's a 1st art variant try without it for .full images
file = findFile(dir, TextUtil.fastReplace(fullborderFile, "1.full", ".full")); file = findFile(dir, TextUtil.fastReplace(filename, "1.full", ".full"));
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