Fix grab/select of gradient edit
This commit is contained in:
parent
238b70e2db
commit
40f8ab6b1e
@ -147,7 +147,6 @@ void GradientEdit::_gui_input(const Ref<InputEvent> &p_event) {
|
|||||||
grabbed = _get_point_from_pos(x);
|
grabbed = _get_point_from_pos(x);
|
||||||
//grab or select
|
//grab or select
|
||||||
if (grabbed != -1) {
|
if (grabbed != -1) {
|
||||||
grabbed = false;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user