diff options
author | chris.clst <christophe.claustre.31@gmail.com> | 2021-11-14 03:23:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-14 03:23:22 +0100 |
commit | 038be68649ca60d4a2ffb3c05bdd3cc8ec4841f4 (patch) | |
tree | 29dfaacbcab32b7915743a5959f57b05d7816c31 /editor/editor_resource_picker.cpp | |
parent | cc39ba5509263346f33894be3a2c84580c1168a9 (diff) | |
parent | ed300d7be536b1ec325ba77521eceee73dd0e5fb (diff) |
Merge branch 'godotengine:master' into bugfix_shader_compile_spirv_from_source
Diffstat (limited to 'editor/editor_resource_picker.cpp')
-rw-r--r-- | editor/editor_resource_picker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index 4775ca418b..0703677dc8 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -464,7 +464,7 @@ void EditorResourcePicker::_button_input(const Ref<InputEvent> &p_event) { Ref<InputEventMouseButton> mb = p_event; if (mb.is_valid()) { - if (mb->is_pressed() && mb->get_button_index() == MOUSE_BUTTON_RIGHT) { + if (mb->is_pressed() && mb->get_button_index() == MouseButton::RIGHT) { _update_menu_items(); Vector2 pos = get_screen_position() + mb->get_position(); |