Commit 7df7f1e7 authored by mercury233's avatar mercury233

Merge branch 'resize' into test

parents e27bf335 7180628a
......@@ -1787,22 +1787,22 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
break;
}
case BUTTON_WINDOW_RESIZE_S: {
mainGame->SetWindowsScale(0.8);
mainGame->SetWindowsScale(0.8f);
return true;
break;
}
case BUTTON_WINDOW_RESIZE_M: {
mainGame->SetWindowsScale(1);
mainGame->SetWindowsScale(1.0f);
return true;
break;
}
case BUTTON_WINDOW_RESIZE_L: {
mainGame->SetWindowsScale(1.25);
mainGame->SetWindowsScale(1.25f);
return true;
break;
}
case BUTTON_WINDOW_RESIZE_XL: {
mainGame->SetWindowsScale(1.5);
mainGame->SetWindowsScale(1.5f);
return true;
break;
}
......
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