|
|
@@ -308,6 +308,10 @@ void CRClickPopup::createAndPush(const std::string &txt, const CInfoWindow::TCom
|
|
|
|
|
|
auto temp = std::make_shared<CInfoWindow>(txt, player, comps);
|
|
|
temp->center(Point(GH.current->motion)); //center on mouse
|
|
|
+#ifdef VCMI_IOS
|
|
|
+ // TODO: enable also for android?
|
|
|
+ temp->moveBy({0, -temp->pos.h / 2});
|
|
|
+#endif
|
|
|
temp->fitToScreen(10);
|
|
|
|
|
|
GH.pushIntT<CRClickPopupInt>(temp);
|