Jelajahi Sumber

Explain which nodes receive `NOTIFICATION_WM_SIZE_CHANGED`

Markus Sauermann 2 tahun lalu
induk
melakukan
361aa909da
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      doc/classes/Node.xml

+ 2 - 1
doc/classes/Node.xml

@@ -1073,7 +1073,8 @@
 			Specific to the Android platform.
 			Specific to the Android platform.
 		</constant>
 		</constant>
 		<constant name="NOTIFICATION_WM_SIZE_CHANGED" value="1008">
 		<constant name="NOTIFICATION_WM_SIZE_CHANGED" value="1008">
-			Notification received from the OS when the window is resized.
+			Notification received when the window is resized.
+			[b]Note:[/b] Only the resized [Window] node receives this notification, and it's not propagated to the child nodes.
 		</constant>
 		</constant>
 		<constant name="NOTIFICATION_WM_DPI_CHANGE" value="1009">
 		<constant name="NOTIFICATION_WM_DPI_CHANGE" value="1009">
 			Notification received from the OS when the screen's DPI has been changed. Only implemented on macOS.
 			Notification received from the OS when the screen's DPI has been changed. Only implemented on macOS.