1
0
Fork 0

Add a note to `DisplayServer.get_display_safe_area()` method documentation

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.
This commit is contained in:
Mateus Elias 2025-01-14 22:27:35 -03:00
parent 4ce466d7fa
commit 11e111bca4
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@
<return type="Rect2i" />
<description>
Returns the unobscured area of the display where interactive controls should be rendered. See also [method get_display_cutouts].
[b]Note:[/b] Currently only implemented on Android and iOS. On other platforms, [code]screen_get_usable_rect(SCREEN_OF_MAIN_WINDOW)[/code] will be returned as a fallback. See also [method screen_get_usable_rect].
</description>
</method>
<method name="get_keyboard_focus_screen" qualifiers="const">