menue.cpp: fix possible render errors after changed font settings

Positions of some menu parts, e.g. headers...
were not updated after changed font scale settings.
This commit is contained in:
2019-11-09 11:05:06 +01:00
parent 45bbc84bf0
commit 40cd758bcd

View File

@@ -707,6 +707,7 @@ void CMenuWidget::Init(const std::string &NameString, const std::string &Icon, c
} }
COsdHelpers::getInstance()->OnAfterChangeResolution.connect(sigc::mem_fun(this, &CMenuWidget::ResetModules)); COsdHelpers::getInstance()->OnAfterChangeResolution.connect(sigc::mem_fun(this, &CMenuWidget::ResetModules));
CNeutrinoApp::getInstance()->OnBeforeSetupFonts.connect(sigc::mem_fun(this, &CMenuWidget::ResetModules));
} }
void CMenuWidget::move(int xoff, int yoff) void CMenuWidget::move(int xoff, int yoff)