mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-26 09:58:48 +01:00
beau
This commit is contained in:
parent
cea58a9e5b
commit
cf20b6eab4
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