From 2ace291b74f11639308937ae803b0a8a819964c3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 6 May 2024 10:12:39 -0400 Subject: [PATCH] Fix --- commands/edit-avatar/rip.js | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/commands/edit-avatar/rip.js b/commands/edit-avatar/rip.js index 3ef0f2e4..807eb260 100644 --- a/commands/edit-avatar/rip.js +++ b/commands/edit-avatar/rip.js @@ -74,19 +74,20 @@ module.exports = class RipCommand extends Command { } fillPressedText(ctx, text, x, y, maxWidth) { - ctx.fillStyle = '#999999'; - ctx.shadowColor = '#FFFFFF'; - ctx.shadowOffsetX = -2; - ctx.shadowOffsetY = -2; - ctx.shadowBlur = 2; - ctx.fillText(text, x, y, maxWidth); - ctx.shadowColor = '#666666'; - ctx.shadowOffsetX = 2; - ctx.shadowOffsetY = 2; - ctx.shadowBlur = 2; - ctx.fillText(text, x, y, maxWidth); - ctx.fillStyle = '#333333'; - ctx.fillText(text, x, y, maxWidth); + ctx.shadowColor = '#666666'; + ctx.shadowOffsetX = -2; + ctx.shadowOffsetY = -2; + ctx.shadowBlur = 2; + ctx.fillStyle = '#999999'; + ctx.fillText(text, x, y, maxWidth); + ctx.shadowColor = '#FFFFFF'; + ctx.shadowOffsetX = 2; + ctx.shadowOffsetY = 2; + ctx.shadowBlur = 2; + ctx.fillText(text, x, y, maxWidth); + ctx.fillStyle = '#333333'; + ctx.shadowColor = 'transparent'; + ctx.fillText(text, x, y, maxWidth); return ctx; } };