Fixed a few things related to thumbnails
All checks were successful
/ Build the server (push) Successful in 2m25s
All checks were successful
/ Build the server (push) Successful in 2m25s
This commit is contained in:
parent
8ca8cfd16f
commit
0306a98936
@ -49,8 +49,9 @@ public class Node {
|
|||||||
.allowOverwrite(true)
|
.allowOverwrite(true)
|
||||||
.outputFormat("png")
|
.outputFormat("png")
|
||||||
.toFile(previewFile);
|
.toFile(previewFile);
|
||||||
} catch (UnsupportedFormatException ignored) {}
|
hasPreview = true;
|
||||||
|
} catch (UnsupportedFormatException | IllegalStateException ignored) {
|
||||||
hasPreview = true;
|
hasPreview = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user