Stroke text width increased
This commit is contained in:
parent
12065cfc0b
commit
3f5b9516c6
5
js/prototype/Coin.js
vendored
5
js/prototype/Coin.js
vendored
@ -49,11 +49,12 @@ Coin.update = function() {
|
||||
Coin.ctx.strokeStyle = 'black';
|
||||
|
||||
Coin.ctx.font = "30px Verdana";
|
||||
Coin.ctx.fillText(Coin.total - 1 + " / " + 8, x, 50);
|
||||
Coin.ctx.lineWidth = 5;
|
||||
Coin.ctx.strokeText(Coin.total - 1 + " / " + 8, x, 50);
|
||||
Coin.ctx.fillText(Coin.total - 1 + " / " + 8, x, 50);
|
||||
|
||||
Coin.ctx.fill();
|
||||
Coin.ctx.stroke();
|
||||
Coin.ctx.fill();
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user