You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Refactor BitMap and add tests
Co-authored-by: Resul Çelik <resul_celik@hotmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user