We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Due to the use of pygame_menu, pygame.mouse.set_visible() does not work
import sys, pygame, pygame_menu pygame.init() screen = pygame.display.set_mode((1920, 1080), pygame.FULLSCREEN) pygame.mouse.set_visible(False) menu = pygame_menu.Menu('Bug', 1920, 1080) pygame.mouse.set_visible() while True: events = pygame.event.get() for event in events: if event.type == pygame.QUIT: pygame.quit() sys.exit() key = pygame.key.get_pressed() if key[pygame.K_ESCAPE]: pygame.quit() sys.exit() menu.draw(screen) menu.update(events) pygame.display.update()
The cursor should have disappeared, but it still remains visible, everything works without pygame_menu
The text was updated successfully, but these errors were encountered:
Hi! Right now, the Menu updates the cursor visibility. Thus, I introduced a new param mouse_visible_update to disable this feature.
Menu
mouse_visible_update
Can you check out #456, using menu = pygame_menu.Menu('Bug', 1920, 1080, mouse_visible_update=False), to test this feature?
menu = pygame_menu.Menu('Bug', 1920, 1080, mouse_visible_update=False)
Sorry, something went wrong.
So quickly answered, thanks a lot, everything works)
I'll merge and upload to PyPI once #453 is solved; greetings 😄
Successfully merging a pull request may close this issue.
Due to the use of pygame_menu, pygame.mouse.set_visible() does not work
The cursor should have disappeared, but it still remains visible, everything works without pygame_menu
The text was updated successfully, but these errors were encountered: