WTF why is it swapped?

Conflicts:
	src/settings_gui.cpp
This commit is contained in:
Sergii Pylypenko
2015-04-29 22:06:48 +03:00
committed by pelya
parent 50e6a86f7b
commit d00e9cd050

View File

@@ -554,6 +554,21 @@ struct GameOptionsWindow : Window {
}
break;
case WID_GO_GUI_ZOOM_DROPDOWN:
GfxClearSpriteCache();
_gui_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index);
switch (_gui_zoom) {
case ZOOM_LVL_OUT_4X - ZOOM_LVL_NORMAL: ChangeResInGame(854, 480); break;
case ZOOM_LVL_OUT_4X - ZOOM_LVL_OUT_2X: ChangeResInGame(1280, 720); break;
case ZOOM_LVL_OUT_4X - ZOOM_LVL_OUT_4X: ChangeResInGame(1920, 1080); break;
default: break;
}
UpdateCursorSize();
LoadStringWidthTable();
ReconstructUserInterface();
this->SetDirty();
break;
case WID_GO_BUTTON_SIZE_DROPDOWN: // Setup screenshot format dropdown
_settings_client.gui.min_button = index;
_settings_client.gui.min_step = index;