summaryrefslogtreecommitdiff
path: root/scene/2d/light_2d.cpp
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2022-09-21 19:31:24 +0800
committerRindbee <idleman@yeah.net>2022-09-21 19:47:36 +0800
commit332c566a6c8a79c14a5336f1ed80b66bbf9b51bc (patch)
treeb48fb3e978f62b870961f21053ce9f81aa0d203a /scene/2d/light_2d.cpp
parent307f560b39439042614f206cc28c80dd543b69cf (diff)
Let the cached `TextLine` reset the width in `get_string_size`
Previously, the cached `TextLine` would set the width in `draw_string`, but not in `get_string_size`, which resulted in unexpected results returned by `get_string_size` in some cases.
Diffstat (limited to 'scene/2d/light_2d.cpp')
0 files changed, 0 insertions, 0 deletions