Quellcode durchsuchen

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

Describe edge cases for `DisplayServer.get_screen_from_rect()`
Thaddeus Crews vor 9 Monaten
Ursprung
Commit
1d5c589e71
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      doc/classes/DisplayServer.xml

+ 1 - 1
doc/classes/DisplayServer.xml

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