Skip to content
New issue

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

[macOS, 4.0] Redraw window during resize and modal popups. #54756

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Nov 8, 2021

Use pre-wait observer to keep main run loop running and redraw window during the window resize and displaying modal popups.

  • Fixes MacOS full screen button pauses game #54724 (redrawing during full-screen selection popup, OS.alert(...) popup, native file dialog popups).
  • Improves redrawing during resize: now it's redrawing when start resizing and not moving mouse, previously was redrawing only during mouse move.
Screen.Recording.2021-11-08.at.12.40.07.mov

…w window during the window resize and displaying modal popups.
@akien-mga akien-mga merged commit 18598a4 into godotengine:master Nov 8, 2021
@akien-mga
Copy link
Member

Thanks!

@bruvzg bruvzg deleted the pre_wait_observer_redraw4 branch November 8, 2021 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MacOS full screen button pauses game
2 participants