diff options
| author | Andreas Haas | 2017-06-03 10:54:24 +0200 |
|---|---|---|
| committer | Andreas Haas | 2017-06-03 11:26:39 +0200 |
| commit | 9bc534896135322a578118f433f0dc6265839082 (patch) | |
| tree | 30316ffea9d6321c6b8292a02b6db3dac9cd1053 /scene/gui/tab_container.cpp | |
| parent | 5a6d4971e13157cc5f0de199de7f6d257070fc66 (diff) | |
| download | godot-9bc534896135322a578118f433f0dc6265839082.tar.gz godot-9bc534896135322a578118f433f0dc6265839082.tar.zst godot-9bc534896135322a578118f433f0dc6265839082.zip | |
InputEvent: Renamed "pos" property to "position"
Make the naming consistent with other classes.
Diffstat (limited to 'scene/gui/tab_container.cpp')
| -rw-r--r-- | scene/gui/tab_container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 6bbfa1aeb..5e60e0a43 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -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. |
