Pārlūkot izejas kodu

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

Co-authored-by: Micky <[email protected]>
Jesse 9 mēneši atpakaļ
vecāks
revīzija
121097db0a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 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>
 		</method>
 		<method name="get_swap_cancel_ok">