mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Remove unnecessary text in leaderboard graph
This commit is contained in:
parent
dc8c3cd056
commit
80a2e9ddef
@ -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));
|
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)
|
// 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
|
// Time
|
||||||
this.ctx.fillText('time ->', origin[0] + (textSize / 2), origin[1] + size[1] + (textSize));
|
this.ctx.fillText('time ->', origin[0] + (textSize / 2), origin[1] + size[1] + (textSize));
|
||||||
|
Loading…
Reference in New Issue
Block a user