From 88a719f2917f2497c3ecb035da7f3ee2f0479705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:56:24 +0200 Subject: [PATCH] [RTL] Fix character effect offset. --- scene/gui/rich_text_label.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 12954c62d24..87c7062f2cc 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -1222,7 +1222,7 @@ int RichTextLabel::_draw_line(ItemFrame *p_frame, int p_line, const Vector2 &p_o custom_fx_ok = effect_status; char_xform = charfx->transform; - fx_offset += charfx->offset; + fx_offset = charfx->offset; font_color = charfx->color; frid = charfx->font; gl = charfx->glyph_index;