From 6a319c55b0e3ed93c0a43a9b7cdc5b69dd4198e3 Mon Sep 17 00:00:00 2001 From: Able Date: Tue, 5 Nov 2024 23:01:15 -0600 Subject: [PATCH] Proper Y direction --- sysdata/programs/horizon/src/main.hb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdata/programs/horizon/src/main.hb b/sysdata/programs/horizon/src/main.hb index e78a4b3f4..b85acbd99 100644 --- a/sysdata/programs/horizon/src/main.hb +++ b/sysdata/programs/horizon/src/main.hb @@ -71,7 +71,7 @@ main := fn(): int { mouse_event := intouch.recieve_mouse_event() if mouse_event != null { mouse_x += mouse_event.x_change - mouse_y -= mouse_event.y_change + mouse_y += mouse_event.y_change } // render mouse render.put_rect(screen, .(mouse_x, mouse_y), .(20, 20), render.white)