瀏覽代碼

fix bonus text pos

Laserlicht 2 周之前
父節點
當前提交
c8b0bfd9f9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/windows/CCreatureWindow.cpp

+ 1 - 1
client/windows/CCreatureWindow.cpp

@@ -320,7 +320,7 @@ CStackWindow::BonusLineSection::BonusLineSection(CStackWindow * owner, size_t li
 			if (!bi.imagePath.empty())
 				icon[leftRight] = std::make_shared<CPicture>(bi.imagePath, position.x, position.y);
 
-			description[leftRight] = std::make_shared<CMultiLineLabel>(Rect(position.x + 60, position.y + 2, 137, 50), FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.description);
+			description[leftRight] = std::make_shared<CMultiLineLabel>(Rect(position.x + 60, position.y, 137, 50), FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.description);
 			drawBonusSource(leftRight, Point(position.x - 1, position.y - 1), bi);
 		}
 	}