From 652bdffffdd68423d643f7e6c798ae1ab449a830 Mon Sep 17 00:00:00 2001 From: Kiandisor Date: Thu, 23 Jul 2026 23:51:54 +1000 Subject: [PATCH] Reset the camera position at end of test Fixed error at the end of the camera test where the x and y position would not be reset if moved. This was causing the problem of other tests not having the camera centered --- coresdk/src/test/test_camera.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coresdk/src/test/test_camera.cpp b/coresdk/src/test/test_camera.cpp index b788081a9..8b3e13468 100644 --- a/coresdk/src/test/test_camera.cpp +++ b/coresdk/src/test/test_camera.cpp @@ -69,5 +69,8 @@ void run_camera_test() refresh_screen(); } + set_camera_x(0); + set_camera_y(0); + close_window(w1); }