1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

fix window

This commit is contained in:
Laserlicht
2024-11-23 19:19:07 +01:00
parent a4417f3fc5
commit 6366175a3c
4 changed files with 14 additions and 17 deletions

View File

@@ -450,7 +450,7 @@ void CTownList::CTownItem::open()
void CTownList::CTownItem::showTooltip()
{
CRClickPopup::createAndPush(town, GH.getCursorPosition());
CRClickPopup::createAndPush(town, pos.center());
}
void CTownList::CTownItem::gesture(bool on, const Point & initialPosition, const Point & finalPosition)