From 91a18c802b885a96af2c7fbaec444f89a9f93a18 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 21 Feb 2021 16:02:38 -0500 Subject: [PATCH] Fix lint --- structures/Font.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structures/Font.js b/structures/Font.js index f089122f..a2e40b98 100644 --- a/structures/Font.js +++ b/structures/Font.js @@ -31,8 +31,8 @@ module.exports = class Font { return registerFont(this.path, { family: this.filenameNoExt, style: this.style, weight: this.weight }); } - toCanvasString(size, fallbacks = true) { - const shouldFall = fallbacks ? `, ${this.fallbacks.join(', ')}` : ''; + toCanvasString(size, shouldDoFallbacks = true) { + const shouldFall = shouldDoFallbacks ? `, ${this.fallbacks.join(', ')}` : ''; return `${this.style} ${this.weight} ${size}px ${this.filenameNoExt}${shouldFall}`; }