1
0
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:
Hendrik Brucker
2022-09-01 18:39:17 +02:00
parent f02134a8c0
commit ea0472fecf
11 changed files with 581 additions and 95 deletions

View File

@@ -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);