Jelajahi Sumber

Merge pull request #80094 from Sauermann/fix-window-sizechange-doc

Explain which nodes receive `NOTIFICATION_WM_SIZE_CHANGED`
Rémi Verschelde 1 tahun lalu
induk
melakukan
9561160a6a
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      doc/classes/Node.xml

+ 2 - 1
doc/classes/Node.xml

@@ -1104,7 +1104,8 @@
 			Implemented only on iOS.
 			Implemented only on iOS.
 		</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 dots per inch (DPI) scale is changed. Only implemented on macOS.
 			Notification received from the OS when the screen's dots per inch (DPI) scale is changed. Only implemented on macOS.