mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
small fix
This commit is contained in:
@@ -302,7 +302,7 @@ CStackWindow::BonusLineSection::BonusLineSection(CStackWindow * owner, size_t li
|
|||||||
BonusInfo & bi = parent->activeBonuses[bonusIndex];
|
BonusInfo & bi = parent->activeBonuses[bonusIndex];
|
||||||
icon[leftRight] = std::make_shared<CPicture>(bi.imagePath, position.x, position.y);
|
icon[leftRight] = std::make_shared<CPicture>(bi.imagePath, position.x, position.y);
|
||||||
name[leftRight] = std::make_shared<CLabel>(position.x + 60, position.y + 2, FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.name, 137);
|
name[leftRight] = std::make_shared<CLabel>(position.x + 60, position.y + 2, FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.name, 137);
|
||||||
description[leftRight] = std::make_shared<CMultiLineLabel>(Rect(position.x + 60, position.y + 20, 137, 30), FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.description);
|
description[leftRight] = std::make_shared<CMultiLineLabel>(Rect(position.x + 60, position.y + 20, 137, 26), FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.description);
|
||||||
drawBonusSource(leftRight, Point(position.x - 1, position.y - 1), bi);
|
drawBonusSource(leftRight, Point(position.x - 1, position.y - 1), bi);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user