Fix two OSD rendering bugs (messages with text2 didn't render it, text alignment with icon)

This commit is contained in:
Henrik Rydgård committed 2023-06-27 23:39:13 +02:00
1 parent aefedb14c9
commit 27847abac4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -117,6 +117,7 @@ static void RenderOSDEntry(UIContext &dc, const OnScreenDisplay::Entry &entry, B
} else if (iconID.isValid()) {
// Atlas icon.
dc.DrawImageVGradient(iconID, foreGround, foreGround, Bounds(bounds.x + 2.5f, bounds.y + 2.5f, g_atlasIconSize, g_atlasIconSize));
iconSize = g_atlasIconSize;
}
// Make room