From 66b0e4be3e5c8d0aa774b81f395d15e4efc086ae Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 22 Sep 2024 13:21:43 -0400 Subject: [PATCH] Collapse some function arguments, for consistency --- resources/ttsdeck/Card.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/ttsdeck/Card.js b/resources/ttsdeck/Card.js index 8a943a6..69d910b 100644 --- a/resources/ttsdeck/Card.js +++ b/resources/ttsdeck/Card.js @@ -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(