From 11d28b2d10f904c8fa1336c5e4c50e952cb5d068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 28 Jan 2020 19:35:09 +0100 Subject: Revert "make Label consider spaces for visible_characters" This reverts commit 695980a0f21adbe66eb12e1015fdc8c51fb62bf9. Fixes #35668. --- scene/gui/label.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'scene/gui') diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 77913efd1c..9b542cb179 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -232,7 +232,6 @@ 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) { -- cgit v1.2.3