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; } };