File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ if (ImGui::IsItemHovered())
3939}
4040}
4141
42+ mvFontManager::mvFontManager ()
43+ {
44+ m_windowflags = ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_HorizontalScrollbar;
45+ }
46+
4247// [Internal] Display details for a single font, called by ShowStyleEditor().
4348void
4449mvFontManager::drawFontNode (ImFont* font)
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class mvFontManager : public mvToolWindow
1010{
1111
1212public:
13+ mvFontManager ();
1314
1415 void updateAtlas ();
1516 float & getGlobalFontScale () { return _globalFontScale; }
@@ -33,7 +34,6 @@ class mvFontManager : public mvToolWindow
3334 const char * getTitle () const override { return " Font Manager" ; }
3435
3536protected:
36- ImGuiWindowFlags m_windowflags = ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_HorizontalScrollbar;
3737
3838 void drawWidgets () override ;
3939 void drawFontNode (ImFont* font);
You can’t perform that action at this time.
0 commit comments