You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #105249 from Repiteo/core/math-defs-namespace
Core: Use `Math` namespace for constants
This commit is contained in:
@@ -1064,7 +1064,7 @@ void LineEdit::drop_data(const Point2 &p_point, const Variant &p_data) {
|
||||
if (p_data.is_string() && is_editable()) {
|
||||
apply_ime();
|
||||
|
||||
if (p_point != Vector2(INFINITY, INFINITY)) {
|
||||
if (p_point != Vector2(Math::INF, Math::INF)) {
|
||||
set_caret_at_pixel_pos(p_point.x);
|
||||
}
|
||||
int caret_column_tmp = caret_column;
|
||||
|
||||
Reference in New Issue
Block a user