Collapse some function arguments, for consistency

This commit is contained in:
Adam Goldsmith 2024-09-22 13:21:43 -04:00
parent 633cd3b94e
commit 66b0e4be3e

View File

@ -15,10 +15,7 @@ Card.getImageFile = function getImageFile(parent, format, page_num) {
);
};
Card.prototype.makeImageUncached = function makeImageUncached(
resolution,
back
) {
Card.prototype.makeImageUncached = function makeImageUncached(resolution, back) {
println("Generating image for card ", this.member);
const sheets = this.component.createDefaultSheets();
const card_image = sheets[back ? 1 : 0].paint(