diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-06 12:29:33 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-06 12:29:33 -0500 |
commit | e8a55bd9edf535d30171c2f1c7c3cc11b4f7595c (patch) | |
tree | 9031885d4ca91c5516b4a288ede3bcf7bb5685b8 /src | |
parent | a48dc88637d7b3e41a78eaeda91a19a967b278ff (diff) | |
download | tanzanite-e8a55bd9edf535d30171c2f1c7c3cc11b4f7595c.tar.gz tanzanite-e8a55bd9edf535d30171c2f1c7c3cc11b4f7595c.tar.bz2 tanzanite-e8a55bd9edf535d30171c2f1c7c3cc11b4f7595c.zip |
remove top level lib folder
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/leveling/level.ts | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts index be52a5d..48cf3ed 100644 --- a/src/commands/leveling/level.ts +++ b/src/commands/leveling/level.ts @@ -85,12 +85,9 @@ export default class LevelCommand extends BushCommand { gray = '#23272A', highlight = user.hexAccentColor ?? '#5865F2'; // Load roboto font - canvas.registerFont( - join(dirname(fileURLToPath(import.meta.url)), '..', '..', '..', '..', 'lib', 'assets', 'Roboto-Regular.ttf'), - { - family: 'Roboto' - } - ); + canvas.registerFont(join(dirname(fileURLToPath(import.meta.url)), '..', '..', '..', '..', 'assets', 'Roboto-Regular.ttf'), { + family: 'Roboto' + }); // Create image canvas const levelCard = canvas.createCanvas(800, 200), ctx = levelCard.getContext('2d'); |