1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Address API 35 UI behavior changes

- Fix issue on foldable where the embedded window would obscure the main window when launching
- Fix edge-to-edge support for non-immersive apps / games
- Add edge-to-edge export option to allow non-immersive apps / games to extend edge to edge
This commit is contained in:
Fredia Huya-Kouadio
2025-06-19 16:01:06 -07:00
parent 5abed52fd9
commit 2f4c3d411c
9 changed files with 97 additions and 18 deletions

View File

@@ -598,6 +598,10 @@
<member name="permissions/write_user_dictionary" type="bool" setter="" getter="">
Allows an application to write to the user dictionary.
</member>
<member name="screen/edge_to_edge" type="bool" setter="" getter="">
If [code]true[/code], this makes the navigation and status bars translucent and allows the application content to extend edge to edge.
[b]Note:[/b] You should ensure that none of the application content is occluded by system elements by using the [method DisplayServer.get_display_safe_area] and [method DisplayServer.get_display_cutouts] methods.
</member>
<member name="screen/immersive_mode" type="bool" setter="" getter="">
If [code]true[/code], hides the navigation and status bar. Set [method DisplayServer.window_set_mode] to change this at runtime.
</member>