You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
make Label consider spaces for visible_characters
This commit is contained in:
@@ -225,6 +225,7 @@ void Label::_notification(int p_what) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (from->space_count) {
|
if (from->space_count) {
|
||||||
|
chars_total += from->space_count;
|
||||||
/* spacing */
|
/* spacing */
|
||||||
x_ofs += space_w * from->space_count;
|
x_ofs += space_w * from->space_count;
|
||||||
if (can_fill && align == ALIGN_FILL && spaces) {
|
if (can_fill && align == ALIGN_FILL && spaces) {
|
||||||
|
|||||||
Reference in New Issue
Block a user