You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Merge pull request #34874 from wingedadventurer/bugfix-label-visible-characters
Make Label node consider spaces for visible_characters property
This commit is contained in:
@@ -224,6 +224,7 @@ void Label::_notification(int p_what) {
|
||||
return;
|
||||
}
|
||||
if (from->space_count) {
|
||||
chars_total += from->space_count;
|
||||
/* spacing */
|
||||
x_ofs += space_w * from->space_count;
|
||||
if (can_fill && align == ALIGN_FILL && spaces) {
|
||||
|
||||
Reference in New Issue
Block a user