Merge pull request #8264 from MrMaidx/filesystem_popup_fix

Fix typo which caused popup to display on incorrect coordinates.
This commit is contained in:
Rémi Verschelde 2017-04-05 01:25:54 +02:00 committed by GitHub
commit e96f32945d
1 changed files with 1 additions and 1 deletions

View File

@ -1101,7 +1101,7 @@ void FileSystemDock::_dir_rmb_pressed(const Vector2 &p_pos) {
folder_options->add_item(TTR("Expand all"), FOLDER_EXPAND_ALL);
folder_options->add_item(TTR("Collapse all"), FOLDER_COLLAPSE_ALL);
folder_options->set_pos(files->get_global_pos() + p_pos);
folder_options->set_pos(tree->get_global_pos() + p_pos);
folder_options->popup();
}