Permalink
Browse files

[layout] added extra elements to apply shadow effect on canvas

  • Loading branch information...
1 parent 19645f8 commit 88f27528195e15500409c6d8563a47fae4bcb4b3 Ida Swarczewskaja committed Nov 21, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/tetris.opa
View
@@ -4,6 +4,7 @@
* @author Matthieu Guffroy
* @author Adam Koprowski (improving control logic & session management;
* no more lost key events)
+ * @author Ida Swarczewskaja (improving html structure)
*/
/*
@@ -472,7 +473,10 @@ Tetris(size, nbcol, nbline, speed, color) = {{
<canvas id=#tetris_board height={conf.height} width={conf.width}>
Your browser doesn't support canvas element (part of html5)
</>
+ <div class="tetris_board"></div>
+ <div class="next"></div>
<canvas id=#tetris_next_preview height={6*conf.size} width={6*conf.size} />
+ <div class="tetris_next_preview"></div>
<div id=#tetris_score>
<div class="score"></div>
<div class="board" id=#tetris_score_value />

0 comments on commit 88f2752

Please sign in to comment.