mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
Merge pull request #99212 from CW-Jesse/patch-1
Describe edge cases for `DisplayServer.get_screen_from_rect()`
This commit is contained in:
commit
1d5c589e71
@ -237,7 +237,7 @@
|
||||
<return type="int" />
|
||||
<param index="0" name="rect" type="Rect2" />
|
||||
<description>
|
||||
Returns index of the screen which contains specified rectangle.
|
||||
Returns the index of the screen that overlaps the most with the given rectangle. Returns [code]-1[/code] if the rectangle doesn't overlap with any screen or has no area.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_swap_cancel_ok">
|
||||
|
Loading…
Reference in New Issue
Block a user