Skip to content

Commit

Permalink
Merge pull request #37104 from alvaroHernandez/fix-joypad-button-editor
Browse files Browse the repository at this point in the history
Prevent joypad button input dropdown going out of dialog
  • Loading branch information
akien-mga authored Mar 17, 2020
2 parents 51772e7 + e47d569 commit 2658ccb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/project_settings_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2658ccb

Please sign in to comment.