1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Fix some popups menu missing screen transform.

Closes #38591
This commit is contained in:
Juan Linietsky
2020-07-01 14:44:19 -03:00
parent 0a8dbe7f75
commit f0e320decf
4 changed files with 4 additions and 4 deletions

View File

@@ -2313,7 +2313,7 @@ void FileSystemDock::_tree_rmb_select(const Vector2 &p_pos) {
tree_popup->clear();
tree_popup->set_size(Size2(1, 1));
_file_and_folders_fill_popup(tree_popup, paths);
tree_popup->set_position(tree->get_global_position() + p_pos);
tree_popup->set_position(tree->get_screen_position() + p_pos);
tree_popup->popup();
}
}