1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Reword comment to explain why

This commit is contained in:
Dean Herbert 2023-11-08 16:41:30 +09:00
parent b092b0093a
commit 6c6baab115
No known key found for this signature in database

View File

@ -148,7 +148,7 @@ namespace osu.Game.Graphics.UserInterface
if (barHeight == 0 || barWidth == 0)
continue;
// Make sure draw quad is thick enough
// Apply minimum sizing to hide the fact that we don't have fractional anti-aliasing.
barHeight = Math.Max(barHeight, 1.5f);
barWidth = Math.Max(barWidth, 1.5f);