Changed the position of the score to bottom center

master
Abhinav Sarkar 9 years ago
parent 6a1b50c33d
commit 724f91ec8f
  1. 2
      src/cljs/frpong/core.cljs

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

Loading…
Cancel
Save