diff options
| author | Poommetee Ketson | 2017-06-08 12:45:07 +0700 |
|---|---|---|
| committer | Poommetee Ketson | 2017-06-08 12:48:59 +0700 |
| commit | fcaddeccbb36da919ef09fac563f0ddab77da25e (patch) | |
| tree | 8ca31cd7000f035d8c9711d70057e19ceee5a810 | |
| parent | b52466f79353e10a7984c835576a67502631b27e (diff) | |
| download | godot-fcaddeccbb36da919ef09fac563f0ddab77da25e.tar.gz godot-fcaddeccbb36da919ef09fac563f0ddab77da25e.tar.zst godot-fcaddeccbb36da919ef09fac563f0ddab77da25e.zip | |
| -rw-r--r-- | core/math/math_2d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/math_2d.h b/core/math/math_2d.h index 3369e2ec4..780bb532d 100644 --- a/core/math/math_2d.h +++ b/core/math/math_2d.h @@ -341,8 +341,8 @@ struct Rect2 { inline Rect2 grow_individual(real_t p_left, real_t p_top, real_t p_right, real_t p_bottom) const { Rect2 g = *this; - g.pos.x -= p_left; - g.pos.y -= p_top; + g.position.x -= p_left; + g.position.y -= p_top; g.size.width += p_left + p_right; g.size.height += p_top + p_bottom; |
