fix
This commit is contained in:
parent
629d73f421
commit
fcba244c84
|
@ -1867,7 +1867,7 @@ void FurnaceGUI::drawSettings() {
|
||||||
if (settings.mainFontSize<3) settings.mainFontSize=3;
|
if (settings.mainFontSize<3) settings.mainFontSize=3;
|
||||||
if (settings.mainFontSize>96) settings.mainFontSize=96;
|
if (settings.mainFontSize>96) settings.mainFontSize=96;
|
||||||
}
|
}
|
||||||
ImGui::Text("Head font");
|
ImGui::Text("Header font");
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Combo("##HeadFont",&settings.headFont,headFonts,7);
|
ImGui::Combo("##HeadFont",&settings.headFont,headFonts,7);
|
||||||
if (settings.headFont==6) {
|
if (settings.headFont==6) {
|
||||||
|
@ -4060,7 +4060,7 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
||||||
logE("could not load big UI font!");
|
logE("could not load big UI font!");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.mainFontSize==settings.headFontSize && settings.headFont<5 && builtinFontM[settings.headFont]==builtinFont[settings.mainFont]) {
|
if (settings.mainFontSize==settings.headFontSize && settings.headFont<5 && builtinFont[settings.headFont]==builtinFont[settings.mainFont]) {
|
||||||
logD("using main font for header font.");
|
logD("using main font for header font.");
|
||||||
headFont=mainFont;
|
headFont=mainFont;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue