This repository was archived by the owner on Jun 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +2
-3
lines changed Expand file tree Collapse file tree 4 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3
3
"gd" : {
4
4
"win" : " 2.204"
5
5
},
6
- "version" : " v2.11.0 " ,
6
+ "version" : " v2.11.1 " ,
7
7
"id" : " maxnu.gd_mega_overlay" ,
8
8
"name" : " GD Mega Overlay" ,
9
9
"developers" : [" maxnu" , " SpaghettDev" ],
Original file line number Diff line number Diff line change @@ -440,6 +440,7 @@ void GUI::setFont(const ghc::filesystem::path& font)
440
440
{
441
441
ImFont* fnt = ImGui::GetIO ().Fonts ->AddFontFromFileTTF (string::wideToUtf8 (font.wstring ()).c_str (), fontScale * uiSizeFactor);
442
442
ImGui::GetIO ().FontDefault = fnt;
443
+ ImGuiCocos::get ().reloadFontTexture ();
443
444
}
444
445
445
446
void GUI::setStyle ()
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ void GUI::drawStyleEditor()
68
68
if (ImGui::IsItemDeactivatedAfterEdit ())
69
69
{
70
70
GUI::setFont (GUI::fontCombo.getSelectedFilePath ());
71
- ImGuiCocos::get ().reloadFontTexture ();
72
71
}
73
72
74
73
ImGui::Text (" Borders" );
Original file line number Diff line number Diff line change @@ -445,7 +445,6 @@ void initGUI()
445
445
{
446
446
GUI::loadStyle (GUI::styleCombo.getSelectedFilePath ());
447
447
GUI::setFont (GUI::fontCombo.getSelectedFilePath ());
448
- ImGuiCocos::get ().reloadFontTexture ();
449
448
}
450
449
451
450
if (GUI::fontCombo.draw ())
You can’t perform that action at this time.
0 commit comments