Disable the mouse cursor

This commit is contained in:
Correl Roush 2020-09-04 20:27:34 -04:00
parent 620deb731f
commit 5640790a28

View file

@ -89,6 +89,7 @@ def main():
HEIGHT = int(config.get("height", size[1])) HEIGHT = int(config.get("height", size[1]))
FPS = int(config.get("fps", 60)) FPS = int(config.get("fps", 60))
screen = pygame.display.set_mode((WIDTH, HEIGHT)) screen = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.mouse.set_visible(False)
# Clear the screen to start # Clear the screen to start
screen.fill((0, 0, 0)) screen.fill((0, 0, 0))
# Initialise font support # Initialise font support