mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Fix typo which caused popup to display on incorrect coordinates.
This commit is contained in:
parent
46bc14e66f
commit
9aa60ff15f
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user