mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-28 08:26:02 -04:00
Fix marquee slowing down with increased resolution.
This commit is contained in:
@@ -539,7 +539,7 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
||||
|
||||
drawList->AddRectFilledMultiColor({ min.x, min.y + prevItemOffset }, { max.x, max.y + prevItemOffset }, c0, c0, c1, c1);
|
||||
|
||||
DrawTextWithMarquee(g_seuratFont, size, textPos, min, max, textColour, configName.c_str(), g_rowSelectionTime, 0.9, 250.0);
|
||||
DrawTextWithMarquee(g_seuratFont, size, textPos, min, max, textColour, configName.c_str(), g_rowSelectionTime, 0.9, Scale(250.0));
|
||||
|
||||
// Show reset button if this option is accessible or not a language option.
|
||||
g_canReset = g_selectedItem->GetName().find("Language") == std::string::npos && isAccessible;
|
||||
|
||||
Reference in New Issue
Block a user