1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

make sure tab is not visible in RichTextLabel, closes #5079

This commit is contained in:
Juan Linietsky
2016-06-11 20:04:00 -03:00
parent f860915ae0
commit ef2f6a18d2

View File

@@ -374,6 +374,8 @@ if (m_height > line_height) {\
int cw=0; int cw=0;
bool visible = visible_characters<0 || p_char_count<visible_characters; bool visible = visible_characters<0 || p_char_count<visible_characters;
if (c[i]=='\t')
visible=false;
if (selected) { if (selected) {