We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7abb3d + 7cd4929 commit fafb998Copy full SHA for fafb998
1 file changed
src/displayapp/screens/Paddle.cpp
@@ -47,8 +47,8 @@ void Paddle::Refresh() {
47
dy *= -1;
48
}
49
50
- // checks if it has touched the side (left side)
51
- if (ballX >= LV_VER_RES - ballSize - 1) {
+ // checks if it has touched the side (right side)
+ if (ballX >= LV_HOR_RES - ballSize - 1) {
52
dx *= -1;
53
54
0 commit comments