mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-17 01:04:19 +00:00
Merge branch 'master' into docking
# Conflicts: # backends/imgui_impl_dx10.cpp # backends/imgui_impl_dx11.cpp # backends/imgui_impl_metal.mm # imgui.cpp
This commit is contained in:
commit
960a6f14bf
20 changed files with 432 additions and 378 deletions
|
|
@ -7947,6 +7947,8 @@ void ImGui::ShowFontSelector(const char* label)
|
|||
ImGui::PushID((void*)font);
|
||||
if (ImGui::Selectable(font->GetDebugName(), font == font_current))
|
||||
io.FontDefault = font;
|
||||
if (font == font_current)
|
||||
ImGui::SetItemDefaultFocus();
|
||||
ImGui::PopID();
|
||||
}
|
||||
ImGui::EndCombo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue