Selaa lähdekoodia

Merge pull request #71513 from bruvzg/mpass_docs

Fix typo and add missing docs for WINDOW_FLAG_MOUSE_PASSTHROUGH.
Rémi Verschelde 2 vuotta sitten
vanhempi
commit
5f4dbea886
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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].