You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…but I believe the label actually uses the absolute position within the entire string.
Steps to reproduce
Create a RichTextLabel.
Enable BBCode and set the text to:
0123456[fade start=3 length=6]abcdefg[/fade]
I believe the label should show "0123456abc" in bright text and subsequent characters should fade from bright to dark, because I believe the "start" index of "3" should start counting from "a".
In reality, the faded "ab" implies that the "start" is being counted from the beginning of the string.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
System information
Godot v4.2.2.stable - macOS 14.5.0 - GLES3 (Compatibility) - Apple M2 Max - Apple M2 Max (12 Threads)
Issue description
The documentation says the RichTextLabel's
fade
BBCode command counts thestart
offset from the command's position:…but I believe the label actually uses the absolute position within the entire string.
Steps to reproduce
I believe the label should show "0123456abc" in bright text and subsequent characters should fade from bright to dark, because I believe the "start" index of "3" should start counting from "a".
In reality, the faded "ab" implies that the "start" is being counted from the beginning of the string.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: