mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user