Fix missing binding for NOTIFICATION_WM_POSITION_CHANGED

This commit is contained in:
Hilderin
2025-03-13 16:12:16 -04:00
parent 701505eb4f
commit 14b1e40e36
2 changed files with 4 additions and 0 deletions

View File

@ -1226,6 +1226,9 @@
<constant name="NOTIFICATION_VP_MOUSE_EXIT" value="1011">
Notification received when the mouse cursor leaves the [Viewport]'s visible area, that is not occluded behind other [Control]s or [Window]s, provided its [member Viewport.gui_disable_input] is [code]false[/code] and regardless if it's currently focused or not.
</constant>
<constant name="NOTIFICATION_WM_POSITION_CHANGED" value="1012">
Notification received when the window is moved.
</constant>
<constant name="NOTIFICATION_OS_MEMORY_WARNING" value="2009">
Notification received from the OS when the application is exceeding its allocated memory.
Implemented only on iOS.

View File

@ -3811,6 +3811,7 @@ void Node::_bind_methods() {
BIND_CONSTANT(NOTIFICATION_WM_DPI_CHANGE);
BIND_CONSTANT(NOTIFICATION_VP_MOUSE_ENTER);
BIND_CONSTANT(NOTIFICATION_VP_MOUSE_EXIT);
BIND_CONSTANT(NOTIFICATION_WM_POSITION_CHANGED);
BIND_CONSTANT(NOTIFICATION_OS_MEMORY_WARNING);
BIND_CONSTANT(NOTIFICATION_TRANSLATION_CHANGED);
BIND_CONSTANT(NOTIFICATION_WM_ABOUT);