mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user