mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:50:05 +00:00
Change default ImGui font size to 16px
This commit is contained in:
parent
ffe1e7efaf
commit
69b39bd884
1 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,8 @@ void ImGuiFont::Impl::CreateImGuiFont(const std::vector<char>& fontData)
|
||||||
{
|
{
|
||||||
logger_->debug("Creating Font: {}", fontName_);
|
logger_->debug("Creating Font: {}", fontName_);
|
||||||
|
|
||||||
static constexpr float kSizePixels_ = 0.0f;
|
// Default render size, used in debug widget
|
||||||
|
static constexpr float kSizePixels_ = 16.0f;
|
||||||
|
|
||||||
ImFontAtlas* fontAtlas = model::ImGuiContextModel::Instance().font_atlas();
|
ImFontAtlas* fontAtlas = model::ImGuiContextModel::Instance().font_atlas();
|
||||||
ImFontConfig fontConfig {};
|
ImFontConfig fontConfig {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue