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

issue-#3121, monitor-switching-issue-solution #3151

Conversation

pransh62390
Copy link

@pransh62390 pransh62390 commented Nov 3, 2024

What issue is this addressing?

Closes #3121

What type of issue is this addressing?

bug fix

What this PR does | solves

This PR will handle the case when the user moves the game window in the external monitor on macOS. Then while moving application crashes because the window size becomes zero while moving and the code panics. I have handled it by adding some value to width and height such that while moving code doesn't panic and the window moves smoothly to an external monitor.

@hajimehoshi
Copy link
Owner

Creating an image without size doesn't make sense.

@hajimehoshi hajimehoshi closed this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants