mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
Fixed issue with rich text tweening and complex nested tags
This commit is contained in:
parent
d9cedbde9b
commit
61c4c9a7d8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -21,7 +21,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.0.417";
|
||||
public static readonly string Version = "1.0.420";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
|
||||
@ -162,7 +162,7 @@ namespace DG.Tweening.Plugins
|
||||
}
|
||||
} else if (i >= startIndex) _Buffer.Append(c);
|
||||
}
|
||||
if (hasOpenTag && i < fullLen - 1) {
|
||||
if (_OpenedTags.Count > 0 && i < fullLen - 1) {
|
||||
string next;
|
||||
while (_OpenedTags.Count > 0 && i < fullLen - 1) {
|
||||
// Last open tag was not closed: find next close tag and apply it
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user