You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Renamed most signals so they refer to:
-An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
This commit is contained in:
@@ -3971,9 +3971,9 @@ void CanvasItemEditorViewport::drop_data(const Point2& p_point,const Variant& p_
|
||||
|
||||
void CanvasItemEditorViewport::_notification(int p_what) {
|
||||
if (p_what==NOTIFICATION_ENTER_TREE) {
|
||||
connect("mouse_exit",this,"_on_mouse_exit");
|
||||
connect("mouse_exited",this,"_on_mouse_exit");
|
||||
} else if (p_what==NOTIFICATION_EXIT_TREE) {
|
||||
disconnect("mouse_exit",this,"_on_mouse_exit");
|
||||
disconnect("mouse_exited",this,"_on_mouse_exit");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user