diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-01 23:46:38 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-01 23:46:38 +0200 |
commit | 5263fd534385b220ff76886b3d8a7ba802a20004 (patch) | |
tree | c6655c9f20dee5dbbca2f7d154e5c77620907741 /scene/gui | |
parent | 2e0cffdb6f7d55130c1837472a1f4da8020371f1 (diff) | |
parent | ea0472fecfb7c8fea06abcc9ad6b849c9b20f8df (diff) |
Merge pull request #64198 from Geometror/add-bitmap-tests
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/texture_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/texture_button.cpp b/scene/gui/texture_button.cpp index e2fd903e0e..2efb6593d3 100644 --- a/scene/gui/texture_button.cpp +++ b/scene/gui/texture_button.cpp @@ -112,7 +112,7 @@ bool TextureButton::has_point(const Point2 &p_point) const { } Point2i p = point; - return click_mask->get_bit(p); + return click_mask->get_bitv(p); } return Control::has_point(p_point); |