We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75937f3 commit 7779002Copy full SHA for 7779002
static/kvh/app.js
@@ -126,7 +126,7 @@ function updatePhysics() {
126
data.x = Math.max(0, Math.min(viewport.width - data.radius * 2, data.x));
127
}
128
129
- if (centerY - data.radius <= 0 || centerY + data.radius >= viewport.ght) {
+ if (centerY - data.radius <= 0 || centerY + data.radius >= viewport.height) {
130
data.vy = -data.vy * 1.1;
131
data.vr = data.vx / data.radius; // no slip
132
data.vx *= 1.05;
0 commit comments