Browse Source

Hide breakpoint indicator when mouse leaves CodeEdit

MewPurPur 2 years ago
parent
commit
6e182d41f4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scene/gui/code_edit.cpp

+ 4 - 0
scene/gui/code_edit.cpp

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