1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 20:30:58 -05:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Noinkin
e01b46a0c8
Merge f537958dc0 into 80a2e9ddef 2024-04-16 23:28:25 -07:00
toast-ts
80a2e9ddef Remove unnecessary text in leaderboard graph 2024-04-17 10:55:42 +10:00

View File

@ -126,7 +126,7 @@ export default class CanvasBuilder {
this.ctx.fillText(type === 'leaderboard' ? '0 msgs' : '0', origin[0] + size[0] + textSize / 2, origin[1] + size[1] + (textSize / 3));
// 30 day (minute for /mp players)
this.ctx.fillText(type === 'leaderboard' ? '30 days ago' : '30 mins ago', lastStart, origin[1] - (textSize / 2));
this.ctx.fillText(type === 'players' ? '30 mins ago' : '', lastStart, origin[1] - (textSize / 2));
// Time
this.ctx.fillText('time ->', origin[0] + (textSize / 2), origin[1] + size[1] + (textSize));