소스 검색

Merge pull request #37104 from alvaroHernandez/fix-joypad-button-editor

Prevent joypad button input dropdown going out of dialog
Rémi Verschelde 5 년 전
부모
커밋
2658ccb85f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      editor/project_settings_editor.cpp

+ 2 - 0
editor/project_settings_editor.cpp

@@ -2006,6 +2006,8 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
 	device_index_label = l;
 
 	device_index = memnew(OptionButton);
+	device_index->set_clip_text(true);
+
 	vbc_right->add_child(device_index);
 
 	setting = false;