Merge pull request #101567 from mateuseap/feat/get_display_safe_area

Add a note to `DisplayServer.get_display_safe_area()` method documentation
This commit is contained in:
Thaddeus Crews 2025-01-16 17:17:48 -06:00
commit 3204956f40
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84

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">