mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[UI] Fixed issue with font not being loaded in certain conditions
This commit is contained in:
parent
d801e047dc
commit
ae1c1e017d
|
|
@ -395,7 +395,7 @@ void ImGuiDrawer::InitializeFonts(const float font_size) {
|
|||
is_font_loaded = LoadWindowsFont(io, font_config, font_size);
|
||||
}
|
||||
|
||||
if (io.Fonts->Fonts.empty()) {
|
||||
if (!is_font_loaded) {
|
||||
io.Fonts->AddFontFromMemoryCompressedBase85TTF(
|
||||
kProggyTinyCompressedDataBase85, font_size, &font_config,
|
||||
io.Fonts->GetGlyphRangesDefault());
|
||||
|
|
|
|||
Loading…
Reference in a new issue