浏览代码

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

Co-authored-by: Micky <[email protected]>
Jesse 9 月之前
父节点
当前提交
121097db0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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">