summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-08-21 11:22:58 -0300
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-08-21 11:22:58 -0300
commit40f8ab6b1e36fb2a2745f8307a656c5eaa38558a (patch)
tree565c2701bdcb0ac194851cb16ea5a4111514e2ff /scene
parent238b70e2db7e376ce8b627bbba5770535270da30 (diff)
Fix grab/select of gradient edit
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/gradient_edit.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/gradient_edit.cpp b/scene/gui/gradient_edit.cpp
index 749efe8364..e82c0c4ad1 100644
--- a/scene/gui/gradient_edit.cpp
+++ b/scene/gui/gradient_edit.cpp
@@ -147,7 +147,6 @@ void GradientEdit::_gui_input(const Ref<InputEvent> &p_event) {
grabbed = _get_point_from_pos(x);
//grab or select
if (grabbed != -1) {
- grabbed = false;
return;
}