beau
This commit is contained in:
parent
355f66b8a1
commit
540e7d1c02
1 changed files with 5 additions and 2 deletions
|
@ -103,8 +103,11 @@ function display_on_canvas( state, canvas_elt ) {
|
|||
case "x": sprite = sprites.gift; break;
|
||||
case " ": sprite = sprites.void; break;
|
||||
}
|
||||
ctx.drawImage( sprite, j * board_infos.cell_dimensions.width, i * board_infos.cell_dimensions.height, board_infos.cell_dimensions.width, board_infos.cell_dimensions.height
|
||||
);
|
||||
ctx.drawImage( sprite,
|
||||
j * board_infos.cell_dimensions.width,
|
||||
i * board_infos.cell_dimensions.height,
|
||||
board_infos.cell_dimensions.width,
|
||||
board_infos.cell_dimensions.height );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue