fix(TabOnline): Fixed weather switch combo UI bug
This commit is contained in:
parent
fe9d985d9e
commit
9ab3b97947
@ -99,7 +99,8 @@ namespace big
|
||||
}
|
||||
|
||||
ImGui::Text("Weather:");
|
||||
ImGui::BeginCombo("##weather", weatherTypes[g_temp.weather_type]);
|
||||
if (ImGui::BeginCombo("##weather", weatherTypes[g_temp.weather_type]))
|
||||
{
|
||||
for (uint8_t i = 0; i < IM_ARRAYSIZE(weatherTypes); i++)
|
||||
{
|
||||
bool is_selected = (g_temp.weather_type == i);
|
||||
@ -116,6 +117,7 @@ namespace big
|
||||
ImGui::SetItemDefaultFocus();
|
||||
}
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
|
||||
ImGui::TreePop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user