Update app.js

pull/1886/head
pidajo 2022-05-20 23:53:15 +02:00 committed by GitHub
parent 11c7fd7e34
commit fd3838dff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Ball {
}
if (test) {
this.velX = -this.velX;
this.valY = (3.5 + 2 * Math.random()) * this.valY / Math.abs(this.valY);
this.velY = (3.5 + 2 * Math.random()) * this.velY / Math.abs(this.velY);
if (isLeft) {
right.follow = this;