This commit is contained in:
Gwenhael Le Moine 2011-07-13 20:51:27 +02:00
parent cea58a9e5b
commit cf20b6eab4

View file

@ -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 );
}
}
}