Some UI polish

This commit is contained in:
Henrik Rydgård committed 2025-11-09 16:49:15 +01:00
1 parent be34e45536
commit 6f2742a2cb
6 files changed
+37 -23

No files matched your search

+2
View File
@@ -121,6 +121,8 @@ static void MeasureOSDEntry(const UIContext &dc, const OnScreenDisplay::Entry &e
static void RenderNotice(UIContext &dc, Bounds bounds, float height1, NoticeLevel level, const std::string &text, const std::string &details, const std::string &iconName, int align, float alpha, OSDMessageFlags flags, float timeVal) {
UI::Drawable background = UI::Drawable(colorAlpha(GetNoticeBackgroundColor(level), alpha));
dc.SetFontStyle(dc.GetTheme().uiFont);
uint32_t foreGround = whiteAlpha(alpha);
if (!(flags & OSDMessageFlags::Transparent)) {