summaryrefslogtreecommitdiffstats
path: root/core/math/rect2.cpp
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-10-31 20:14:39 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-10-31 20:14:39 -0500
commit363c0b5fec45f9f5d24ff9578ebdca2544a511d8 (patch)
tree037893280156c6610b376b2b32c709241b6ea480 /core/math/rect2.cpp
parent7982030b25fd204bacfe39b5137b859c27fbbdd9 (diff)
parent5c0f2414cd6d988a4eab93fc21bc3b80388907e8 (diff)
downloadredot-engine-363c0b5fec45f9f5d24ff9578ebdca2544a511d8.tar.gz
Merge pull request #47502 from KoBeWi/add_0
Always add decimal when converting float to string
Diffstat (limited to 'core/math/rect2.cpp')
-rw-r--r--core/math/rect2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/rect2.cpp b/core/math/rect2.cpp
index c55226a57e..7f77b0786c 100644
--- a/core/math/rect2.cpp
+++ b/core/math/rect2.cpp
@@ -283,7 +283,7 @@ next4:
}
Rect2::operator String() const {
- return "[P: " + position.operator String() + ", S: " + size + "]";
+ return "[P: " + position.operator String() + ", S: " + size.operator String() + "]";
}
Rect2::operator Rect2i() const {