You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix bad popups offset in editor with single window off
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
This commit is contained in:
@@ -275,7 +275,8 @@ void DependencyEditorOwners::_list_rmb_select(int p_item, const Vector2 &p_pos)
|
||||
file_options->add_item(TTR("Open"), FILE_OPEN);
|
||||
}
|
||||
|
||||
file_options->set_position(owners->get_global_position() + p_pos);
|
||||
file_options->set_position(owners->get_screen_position() + p_pos);
|
||||
file_options->reset_size();
|
||||
file_options->popup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user