got my keys switched up

This commit is contained in:
djaidjai committed 2024-05-06 14:19:18 +02:00
1 parent 866d8e444f
commit 5ac8ad40ee
1 file changed
+3 -3
+3 -3
View File
@@ -80,11 +80,11 @@ void CameraMoveCallback::pan(const string dir) {
if (dir == "Left" or dir == "h") {
pos[0] -= 0.1;
} else if (dir == "Up" or dir == "j" ) {
} else if (dir == "Up" or dir == "k" ) {
pos[1] += 0.1;
} else if (dir == "Right" or dir == "k" ) {
} else if (dir == "Right" or dir == "l" ) {
pos[0] += 0.1;
} else if (dir == "Down" or dir == "l" ) {
} else if (dir == "Down" or dir == "j" ) {
pos[1] -= 0.1;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.