minor fixing
This commit is contained in:
parent
1e6eeb7e44
commit
a2a24f347c
@ -175,7 +175,13 @@ void TDynamicText::UpdateText(std::string text)
|
|||||||
vec2 posFrom = LeftBottomPos;
|
vec2 posFrom = LeftBottomPos;
|
||||||
vec2 posTo = LeftBottomPos + vec2(Width, Height);
|
vec2 posTo = LeftBottomPos + vec2(Width, Height);
|
||||||
|
|
||||||
TextRenderPairItr->second = CreateTriangleListForText(posFrom, posTo, LastTextParams);
|
|
||||||
|
PerformInMainThreadAsync(
|
||||||
|
[this, posFrom, posTo]()
|
||||||
|
{
|
||||||
|
this->TextRenderPairItr->second = CreateTriangleListForText(posFrom, posTo, this->LastTextParams);
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user