options_menu: fix info scroll marquee fade (#404)

This commit is contained in:
Hyper 2025-02-13 23:04:49 +00:00 committed by GitHub
parent 5e8d15e334
commit b04d9e683c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1583,7 +1583,7 @@ static void DrawInfoPanel(ImVec2 infoMin, ImVec2 infoMax)
scrollDirection = 1.0f;
}
SetVerticalMarqueeFade(clipRectMin, clipRectMax, Scale(24), Lerp(Scale(24), 0.0f, scrollOffset / scrollMax));
SetVerticalMarqueeFade({ clipRectMin.x, clipRectMin.y + Scale(5.5f) }, clipRectMax, Scale(10), Scale(10));
DrawRubyAnnotatedText
(