InputEvent: Renamed "pos" property to "position"

Make the naming consistent with other classes.
This commit is contained in:
Andreas Haas 2017-06-03 10:54:24 +02:00
parent 5a6d4971e1
commit 9bc5348961
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1
51 changed files with 282 additions and 282 deletions

View file

@ -396,7 +396,7 @@ void EditorAudioBus::_gui_input(const Ref<InputEvent> &p_event) {
Ref<InputEventMouseButton> mb = p_event;
if (mb.is_valid() && mb->get_button_index() == 2 && mb->is_pressed()) {
Vector2 pos = Vector2(mb->get_pos().x, mb->get_pos().y);
Vector2 pos = Vector2(mb->get_position().x, mb->get_position().y);
delete_popup->set_position(get_global_position() + pos);
delete_popup->popup();
}