diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-04-05 01:25:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 01:25:54 +0200 |
commit | e96f32945d31e0d5596b31b03c6353fd037624cb (patch) | |
tree | 1c6ed50399d024e30e2cba3eb01ac02ee4ce6df2 | |
parent | 02f9851d0dd4ea43394cb49edae3f28550ba0b8d (diff) | |
parent | 9aa60ff15f048fc0301b9b2197c56c8100e6c185 (diff) |
Merge pull request #8264 from MrMaidx/filesystem_popup_fix
Fix typo which caused popup to display on incorrect coordinates.
-rw-r--r-- | editor/filesystem_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index fe1f984f39..3e0a2c712a 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -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(); } |