summaryrefslogtreecommitdiff
path: root/tools/editor/pane_drag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/pane_drag.cpp')
-rw-r--r--tools/editor/pane_drag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/pane_drag.cpp b/tools/editor/pane_drag.cpp
index f328f88b6f..122abd37b9 100644
--- a/tools/editor/pane_drag.cpp
+++ b/tools/editor/pane_drag.cpp
@@ -29,7 +29,7 @@
#include "pane_drag.h"
-void PaneDrag::_input_event(const InputEvent& p_input) {
+void PaneDrag::_gui_input(const InputEvent& p_input) {
if (p_input.type==InputEvent::MOUSE_MOTION && p_input.mouse_motion.button_mask&BUTTON_MASK_LEFT) {
@@ -64,7 +64,7 @@ Size2 PaneDrag::get_minimum_size() const {
void PaneDrag::_bind_methods() {
- ClassDB::bind_method("_input_event",&PaneDrag::_input_event);
+ ClassDB::bind_method("_gui_input",&PaneDrag::_gui_input);
ADD_SIGNAL(MethodInfo("dragged",PropertyInfo(Variant::VECTOR2,"amount")));
}