Changed the position of the score to bottom center

master
Abhinav Sarkar 2013-10-15 20:32:53 +05:30
parent 6a1b50c33d
commit 724f91ec8f
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@
(dom/set-attr! "cy" (second *center*))) (dom/set-attr! "cy" (second *center*)))
(doto (dom/by-id "score") (doto (dom/by-id "score")
(dom/set-attr! "x" (first *center*)) (dom/set-attr! "x" (first *center*))
(dom/set-attr! "y" (second *center*))) (dom/set-attr! "y" (- *height* 50)))
(doseq [id ["lpaddle" "rpaddle"]] (doseq [id ["lpaddle" "rpaddle"]]
(doto (dom/by-id id) (doto (dom/by-id id)
(dom/set-attr! "width" *paddle-width*) (dom/set-attr! "width" *paddle-width*)