2
0
Эх сурвалжийг харах

[DisplayServer] [docs] Improve readability of `get_screen_from_rect()`

Co-authored-by: Micky <[email protected]>
Jesse 9 сар өмнө
parent
commit
121097db0a

+ 1 - 1
doc/classes/DisplayServer.xml

@@ -237,7 +237,7 @@
 			<return type="int" />
 			<return type="int" />
 			<param index="0" name="rect" type="Rect2" />
 			<param index="0" name="rect" type="Rect2" />
 			<description>
 			<description>
-				Returns index of screen that overlaps the most with the given rectangle. Returns [code]-1[/code] if the rectangle doesn't overlap any screen or has zero area.
+				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>
 			</description>
 		</method>
 		</method>
 		<method name="get_swap_cancel_ok">
 		<method name="get_swap_cancel_ok">