mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-24 17:29:23 +01:00
fixed image tokens drawing themselves too many times for split strings
This commit is contained in:
parent
14940d39c5
commit
705758090b
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ namespace MLEM.Formatting {
|
|||
var line = token.SplitDisplayString[l];
|
||||
for (var i = 0; i < line.Length; i++) {
|
||||
var c = line[i];
|
||||
if (i == 0)
|
||||
if (l == 0 && i == 0)
|
||||
token.DrawSelf(time, batch, pos + innerOffset, font, color, scale, depth);
|
||||
|
||||
var cString = c.ToCachedString();
|
||||
|
|
Loading…
Reference in a new issue