Changed the position of the score to bottom center
parent
6a1b50c33d
commit
724f91ec8f
|
@ -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…
Reference in New Issue