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

Explain which nodes receive `NOTIFICATION_WM_SIZE_CHANGED`
This commit is contained in:
Rémi Verschelde 2024-01-03 15:40:11 +01:00
commit 9561160a6a
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1104,7 +1104,8 @@
Implemented only on iOS.
</constant>
<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 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.