mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
fix campaign video scrolling for short texts
This commit is contained in:
@ -176,6 +176,11 @@ void CMultiLineLabel::setText(const std::string & Txt)
|
||||
CLabel::setText(Txt);
|
||||
}
|
||||
|
||||
std::vector<std::string> CMultiLineLabel::getLines()
|
||||
{
|
||||
return lines;
|
||||
}
|
||||
|
||||
void CTextContainer::blitLine(Canvas & to, Rect destRect, std::string what)
|
||||
{
|
||||
const auto f = GH.renderHandler().loadFont(font);
|
||||
|
Reference in New Issue
Block a user