Commit 10f716de authored by fallenstardust's avatar fallenstardust

fix 长脚本提示文字下的窗口背景

parent de3c9a4c
...@@ -688,7 +688,7 @@ void ClientField::ShowSelectOption(int select_hint) { ...@@ -688,7 +688,7 @@ void ClientField::ShowSelectOption(int select_hint) {
irr::core::recti pos = mainGame->wOptions->getRelativePosition(); irr::core::recti pos = mainGame->wOptions->getRelativePosition();
pos.LowerRightCorner.Y = pos.UpperLeftCorner.Y + 180 * mainGame->yScale; pos.LowerRightCorner.Y = pos.UpperLeftCorner.Y + 180 * mainGame->yScale;
mainGame->wOptions->setRelativePosition(pos); mainGame->wOptions->setRelativePosition(pos);
mainGame->bgOptions->setRelativePosition(mainGame->wOptions->getRelativePosition()); mainGame->bgOptions->setRelativePosition(irr::core::rect<irr::s32>(0, 0, pos.getWidth(), pos.getHeight()));
} }
if(select_hint) if(select_hint)
myswprintf(textBuffer, L"%ls", dataManager.GetDesc(select_hint)); myswprintf(textBuffer, L"%ls", dataManager.GetDesc(select_hint));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment