This commit is contained in:
Dragon Fire
2024-05-06 10:12:39 -04:00
parent ed5930a8de
commit 2ace291b74
+14 -13
View File
@@ -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;
}
};