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

Add a note to DisplayServer.get_display_safe_area() method documentation #101567

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

mateuseap
Copy link
Contributor

Closes #10490

Changes made

  • Added a note to clarify that the DisplayServer.get_display_safe_area() method is currently only implemented on Android and iOS, with screen_get_usable_rect(SCREEN_OF_MAIN_WINDOW) being used as a fallback on other platforms.

…ation

Add a note to clarify that the DisplayServer.get_display_safe_area() method is currently only implemented on Android and iOS, and that it returns screen_get_usable_rect(SCREEN_OF_MAIN_WINDOW) as a fallback on other platforms.
@mateuseap mateuseap requested a review from a team as a code owner January 15, 2025 01:35
@Repiteo Repiteo merged commit 3204956 into godotengine:master Jan 16, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jan 16, 2025

Thanks! Congratulations on your first merged contribution! 🎉

@mateuseap
Copy link
Contributor Author

That's not my first one, but thanks! lol 👍

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.

get_display_safe_area() is only for Android and iOS
6 participants