Browse Source

Changed autocomplete to cancel when the user begins a drag

Eric Brown 2 years ago
parent
commit
42bc437615
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scene/gui/code_edit.cpp

+ 4 - 0
scene/gui/code_edit.cpp

@@ -217,6 +217,10 @@ void CodeEdit::_notification(int p_what) {
 				}
 				}
 			}
 			}
 		} break;
 		} break;
+
+		case NOTIFICATION_DRAG_BEGIN: {
+			cancel_code_completion();
+		} break;
 	}
 	}
 }
 }