scale planetNameOffset by interface scale
that parameter was definitely not tested for other interface scales
This commit is contained in:
parent
986db9cfc5
commit
68bd850fe7
@ -714,6 +714,7 @@ void MainInterface::update(float dt) {
|
||||
worldName = worldTemplate->worldName();
|
||||
|
||||
if (!worldName.empty()) {
|
||||
m_planetText->parent()->setPosition(Vec2I(Vec2F(m_config->planetNameOffset) * (2.f / interfaceScale())));
|
||||
m_planetText->setText(strf(m_config->planetNameFormatString.utf8Ptr(), worldName));
|
||||
m_paneManager.displayRegisteredPane(MainInterfacePanes::PlanetText);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user