diff --git a/sysdata/programs/horizon/src/main.hb b/sysdata/programs/horizon/src/main.hb index 198307fc4..1b7ac838e 100644 --- a/sysdata/programs/horizon/src/main.hb +++ b/sysdata/programs/horizon/src/main.hb @@ -88,6 +88,9 @@ main := fn(): int { render.put_rect(screen, .(0, screen.height - 21), .(screen.width - 1, 20), render.white) } + // Screen border + render.put_rect(screen, .(0, 0), .(screen.width - 1, screen.height - 1), render.white) + { mouse_event := intouch.recieve_mouse_event() // @@ -130,8 +133,6 @@ main := fn(): int { } } - render.put_rect(screen, .(0, 0), .(screen.width - 1, screen.height - 1), render.white) - // render mouse lum := render.indexptr(screen, mouse_x, mouse_y) if lum.r / 3 + lum.g / 3 + lum.b / 3 < 128 {