mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
InputEvent: Renamed "pos" property to "position"
Make the naming consistent with other classes.
This commit is contained in:
@@ -69,7 +69,7 @@ void TabContainer::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
if (mb.is_valid() && mb->is_pressed() && mb->get_button_index() == BUTTON_LEFT) {
|
||||
|
||||
Point2 pos(mb->get_pos().x, mb->get_pos().y);
|
||||
Point2 pos(mb->get_position().x, mb->get_position().y);
|
||||
Size2 size = get_size();
|
||||
|
||||
// Click must be on tabs in the tab header area.
|
||||
|
||||
Reference in New Issue
Block a user