Commit 07dd8204 authored by mercury233's avatar mercury233

Merge branch 'resize' into test

parents 4acfabac 2f0937dc
......@@ -2045,7 +2045,7 @@ void ClientField::ShowMenu(int flag, int x, int y) {
return;
}
int height = 1;
int offset = (mainGame->gameConf.resize_popup_menu && mainGame->yScale >= 0.666) ? 21 * mainGame->yScale : 14;
int offset = mainGame->gameConf.resize_popup_menu ? ((mainGame->yScale >= 0.666) ? 21 * mainGame->yScale : 14) : 21;
if(flag & COMMAND_ACTIVATE) {
mainGame->btnActivate->setVisible(true);
mainGame->btnActivate->setRelativePosition(position2di(1, height));
......
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