Merge pull request #99212 from CW-Jesse/patch-1

Describe edge cases for `DisplayServer.get_screen_from_rect()`
This commit is contained in:
Thaddeus Crews 2024-11-15 10:42:40 -06:00
commit 1d5c589e71
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

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