From bf0bf830535c13aff64fbf556e54ad1f062d271f Mon Sep 17 00:00:00 2001 From: Nathan Byrd Date: Fri, 25 Aug 2023 14:38:32 -0500 Subject: [PATCH] Small logic change to improve SAUCE handling --- core/art.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/art.js b/core/art.js index 100f2404..2261585f 100644 --- a/core/art.js +++ b/core/art.js @@ -49,7 +49,7 @@ function getFontNameFromSAUCE(sauce) { function getWidthFromSAUCE(sauce) { if (sauce.Character) { let sauceWidth = _.toNumber(sauce.Character.characterWidth); - if(!(_.isNaN(sauceWidth) && sauceWidth > 0)) { + if(!(_.isNaN(sauceWidth)) && sauceWidth > 0) { return sauceWidth; } }