diff options
author | Andreas Haas <Hinsbart@users.noreply.github.com> | 2017-06-03 12:47:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-03 12:47:54 +0200 |
commit | 69bec86028f87307e549d7a2f49bbb7e2b1f3771 (patch) | |
tree | 30316ffea9d6321c6b8292a02b6db3dac9cd1053 /scene/gui/base_button.cpp | |
parent | 5a6d4971e13157cc5f0de199de7f6d257070fc66 (diff) | |
parent | 9bc534896135322a578118f433f0dc6265839082 (diff) |
Merge pull request #9031 from Hinsbart/inputevent_pos
InputEvent: Renamed "pos" property to "position"
Diffstat (limited to 'scene/gui/base_button.cpp')
-rw-r--r-- | scene/gui/base_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 318db8458b..c1dbc82f3c 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -162,7 +162,7 @@ void BaseButton::_gui_input(Ref<InputEvent> p_event) { if (mm.is_valid()) { if (status.press_attempt && status.pressing_button == 0) { bool last_press_inside = status.pressing_inside; - status.pressing_inside = has_point(mm->get_pos()); + status.pressing_inside = has_point(mm->get_position()); if (last_press_inside != status.pressing_inside) update(); } |