Skip to content

Commit 7779002

Browse files
committed
typo fix
1 parent 75937f3 commit 7779002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/kvh/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function updatePhysics() {
126126
data.x = Math.max(0, Math.min(viewport.width - data.radius * 2, data.x));
127127
}
128128

129-
if (centerY - data.radius <= 0 || centerY + data.radius >= viewport.ght) {
129+
if (centerY - data.radius <= 0 || centerY + data.radius >= viewport.height) {
130130
data.vy = -data.vy * 1.1;
131131
data.vr = data.vx / data.radius; // no slip
132132
data.vx *= 1.05;

0 commit comments

Comments
 (0)