Explorar o código

Fix typo and add missing docs for WINDOW_FLAG_MOUSE_PASSTHROUGH.

bruvzg %!s(int64=2) %!d(string=hai) anos
pai
achega
c6ed9bb77e
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 1
      doc/classes/DisplayServer.xml
  2. 1 0
      doc/classes/Window.xml

+ 1 - 1
doc/classes/DisplayServer.xml

@@ -1695,7 +1695,7 @@
 			[b]Note:[/b] This flag is implemented on macOS.
 		</constant>
 		<constant name="WINDOW_FLAG_MOUSE_PASSTHROUGH" value="7" enum="WindowFlags">
-			All mouse event as passed to the underlying window of the same application.
+			All mouse events are passed to the underlying window of the same application.
 		</constant>
 		<constant name="WINDOW_FLAG_MAX" value="8" enum="WindowFlags">
 			Max value of the [enum WindowFlags].

+ 1 - 0
doc/classes/Window.xml

@@ -729,6 +729,7 @@
 			[b]Note:[/b] This flag is implemented on macOS.
 		</constant>
 		<constant name="FLAG_MOUSE_PASSTHROUGH" value="7" enum="Flags">
+			All mouse events are passed to the underlying window of the same application.
 		</constant>
 		<constant name="FLAG_MAX" value="8" enum="Flags">
 			Max value of the [enum Flags].