]> git.eli173.com Git - pong_br/commitdiff
cleaner lines
authorElijah Cohen <eli@eli173.com>
Fri, 3 May 2019 00:01:07 +0000 (19:01 -0500)
committerElijah Cohen <eli@eli173.com>
Fri, 3 May 2019 00:01:07 +0000 (19:01 -0500)
web/main.js

index ecafbd8101d74d972e1a0885dd77ef383586c7d4..2ab0ca24fa81e26ed9dbf5c2d3e99b38927097ba 100644 (file)
@@ -17,7 +17,7 @@ var main = function() { // starts everything, gets us going, setup ish
     ctx = canvas.getContext('2d');
     // change the 1's to zoom in i think.. todo
     ctx.transform(10, 0, 0, 10, ctx.canvas.width/2, ctx.canvas.height/2); // change to setTransform?
-
+    ctx.lineWidth = ctx.lineWidth/5;
     // this is just to have everything go easily for testing
     var othersockets = [];
     for(var i=0; i<c.NUM_PLAYERS -1; i++) {