1
0
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:
Daniele Giardini 2015-03-31 12:55:29 +02:00
parent d9cedbde9b
commit 61c4c9a7d8
11 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ namespace DG.Tweening
public class DOTween public class DOTween
{ {
/// <summary>DOTween's version</summary> /// <summary>DOTween's version</summary>
public static readonly string Version = "1.0.417"; public static readonly string Version = "1.0.420";
/////////////////////////////////////////////// ///////////////////////////////////////////////
// Options //////////////////////////////////// // Options ////////////////////////////////////

View File

@ -162,7 +162,7 @@ namespace DG.Tweening.Plugins
} }
} else if (i >= startIndex) _Buffer.Append(c); } else if (i >= startIndex) _Buffer.Append(c);
} }
if (hasOpenTag && i < fullLen - 1) { if (_OpenedTags.Count > 0 && i < fullLen - 1) {
string next; string next;
while (_OpenedTags.Count > 0 && i < fullLen - 1) { while (_OpenedTags.Count > 0 && i < fullLen - 1) {
// Last open tag was not closed: find next close tag and apply it // Last open tag was not closed: find next close tag and apply it

Binary file not shown.