mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-24 19:31:56 +00:00
Fix marquee slowing down with increased resolution.
This commit is contained in:
parent
075ee43808
commit
70268e41b5
2 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ static void DrawAchievement(int rowIndex, float yOffset, Achievement& achievemen
|
||||||
desc,
|
desc,
|
||||||
g_rowSelectionTime,
|
g_rowSelectionTime,
|
||||||
0.9,
|
0.9,
|
||||||
250.0,
|
Scale(250.0),
|
||||||
shadowOffset,
|
shadowOffset,
|
||||||
0.4f,
|
0.4f,
|
||||||
colTextShadow
|
colTextShadow
|
||||||
|
|
|
||||||
|
|
@ -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);
|
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.
|
// Show reset button if this option is accessible or not a language option.
|
||||||
g_canReset = g_selectedItem->GetName().find("Language") == std::string::npos && isAccessible;
|
g_canReset = g_selectedItem->GetName().find("Language") == std::string::npos && isAccessible;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue