diff --git a/display.py b/display.py index 32aafa4..c189f21 100644 --- a/display.py +++ b/display.py @@ -203,7 +203,6 @@ def _load_font(size: int, bold: bool = False) -> pygame.font.Font: def main() -> None: pygame.init() - pygame.mouse.set_visible(False) W, H = _args.width, _args.height @@ -213,6 +212,8 @@ def main() -> None: screen = pygame.display.set_mode((W, H)) pygame.display.set_caption('JARVIS') + pygame.mouse.set_visible(False) + fonts = { 'large': _load_font(56), 'small': _load_font(18),