Increase icon size in last played.
This commit is contained in:
parent
2104e1e097
commit
9a9eecdb9c
@ -248,9 +248,9 @@ const UI = {
|
||||
|
||||
let piece_name = GAME.Const.Piece[piece].name;
|
||||
if(promoted) {
|
||||
GAME_ASSET.Image.Promote.draw(ctx, 1.5 * size, [size * (1 + (2 * i)), size], INTERFACE.Color.Promote);
|
||||
GAME_ASSET.Image.Promote.draw(ctx, canvas.height, [size * (1 + (2 * i)), size], INTERFACE.Color.Promote);
|
||||
}
|
||||
GAME_ASSET.Image[piece_name].draw(ctx, 1.5 * size, [size * (1 + (2 * i)), size], color);
|
||||
GAME_ASSET.Image[piece_name].draw(ctx, canvas.height, [size * (1 + (2 * i)), size], color);
|
||||
}
|
||||
}, 10, moves, record.moves);
|
||||
|
||||
@ -404,9 +404,9 @@ const UI = {
|
||||
|
||||
let piece_name = GAME.Const.Piece[piece].name;
|
||||
if(promoted) {
|
||||
GAME_ASSET.Image.Promote.draw(ctx, 1.5 * size, [size * (1 + (2 * i)), size], INTERFACE.Color.Promote);
|
||||
GAME_ASSET.Image.Promote.draw(ctx, canvas.height, [size * (1 + (2 * i)), size], INTERFACE.Color.Promote);
|
||||
}
|
||||
GAME_ASSET.Image[piece_name].draw(ctx, 1.5 * size, [size * (1 + (2 * i)), size], color);
|
||||
GAME_ASSET.Image[piece_name].draw(ctx, canvas.height, [size * (1 + (2 * i)), size], color);
|
||||
}
|
||||
}, 10, moves, record.moves);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user