Messages: move window to top of screen

User request.
This commit is contained in:
2016-11-22 11:01:30 +01:00
parent e46d65fb92
commit 644063d2c8
2 changed files with 4 additions and 3 deletions

View File

@@ -309,8 +309,8 @@ void CHintBox::addHintItem(const std::string& Text, const int& text_mode, const
ReSize();
/* set hint box position general to center and refresh window */
setCenterPos();
setCenterPos(CC_ALONG_X);
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >> 2),
Refresh();
}