overlays: fix graph offset error after applying new config

I already had this figured out last time but forgot the dynamic config use case.
This commit is contained in:
Megamouse 2021-10-31 04:04:47 +01:00
parent 84f123041a
commit 1650dd1c7d
1 changed files with 4 additions and 7 deletions

View File

@ -253,18 +253,15 @@ namespace rsx
reset_transforms(); reset_transforms();
force_next_update(); force_next_update();
if (m_is_initialised) if (!m_is_initialised)
{ {
update();
return;
}
m_update_timer.Start(); m_update_timer.Start();
m_frametime_timer.Start(); m_frametime_timer.Start();
}
update(); update();
// The text might have changed during the initial update. Recalculate positions. // The text might have changed during the update. Recalculate positions.
reset_transforms(); reset_transforms();
m_is_initialised = true; m_is_initialised = true;