dynamic audio settings changing

This commit is contained in:
tildearrow 2022-01-17 01:42:26 -05:00
parent d6d6bf80ec
commit 6ca3c4ec4d
4 changed files with 64 additions and 17 deletions

View file

@ -1923,6 +1923,8 @@ void FurnaceGUI::commitSettings() {
e->saveConf();
e->switchMaster();
ImGui::GetIO().Fonts->Clear();
if ((mainFont=ImGui::GetIO().Fonts->AddFontFromMemoryCompressedTTF(defFont_main_compressed_data,defFont_main_compressed_size,e->getConfInt("mainFontSize",18)*dpiScale))==NULL) {
logE("could not load UI font!\n");