Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix invalid startup embedded game location and size after resizing editor main area #103436

Conversation

Hilderin
Copy link
Contributor

@Hilderin Hilderin commented Mar 1, 2025

This fix simply uses the manual calculation for the location and size of the game not only on the first start (when the embedded control was invalid) but for every game start when floating window is disabled.

godot.windows.editor.dev.x86_64_uJmmgQAH6U.mp4

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally on Windows 11 24H2, it works as expected.

@Hilderin Hilderin force-pushed the fix-invalid-embedded-game-location-size branch from 44b39ad to 0c9cacc Compare March 2, 2025 12:22
@akien-mga akien-mga merged commit 64456e7 into godotengine:master Mar 2, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid startup embedded game location and size after resizing editor main area
5 participants