Skip to content

Commit 1ca03ad

Browse files
committed
Merge pull request godotengine#101532 from bruvzg/rtl_fix_fx_offset
[RTL] Fix character effect offset.
2 parents 132223f + 88a719f commit 1ca03ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/rich_text_label.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ int RichTextLabel::_draw_line(ItemFrame *p_frame, int p_line, const Vector2 &p_o
12221222
custom_fx_ok = effect_status;
12231223

12241224
char_xform = charfx->transform;
1225-
fx_offset += charfx->offset;
1225+
fx_offset = charfx->offset;
12261226
font_color = charfx->color;
12271227
frid = charfx->font;
12281228
gl = charfx->glyph_index;

0 commit comments

Comments
 (0)