summaryrefslogtreecommitdiff
path: root/scene/2d/mesh_instance_2d.cpp
diff options
context:
space:
mode:
authorRuslan Mustakov <r.mustakov@gmail.com>2018-05-14 20:18:44 +0700
committerRuslan Mustakov <r.mustakov@gmail.com>2018-05-14 20:32:14 +0700
commitd5a0b5f35b22658f5c575e2f494ebd3f3239b8cc (patch)
treedc07f1f58bbcffa6d66d1685663b3ff9771ccb21 /scene/2d/mesh_instance_2d.cpp
parent8c71cbbe3fcd45cc1459c24a712273d143ef6879 (diff)
Ceil char width within Label instead of Font
Some classes use Font::get_char_size directly and not only for autowrapping. RichTextLabel is one such example. So this commit reverts aa8561d (PR #17504) and instead ceils character width within Label. This makes sure Label autowraps correctly while not affecting other Font clients. Fixes #18835.
Diffstat (limited to 'scene/2d/mesh_instance_2d.cpp')
0 files changed, 0 insertions, 0 deletions