mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Smooth triangles a bit (to avoid whole pixel jumps).
This commit is contained in:
parent
b334a310b0
commit
db8e44c715
@ -76,6 +76,7 @@ namespace osu.Game.Graphics.Backgrounds
|
||||
Origin = Anchor.TopCentre,
|
||||
RelativePositionAxes = Axes.Both,
|
||||
Scale = new Vector2(scale),
|
||||
EdgeSmoothness = new Vector2(1),
|
||||
// Scaling height by 0.866 results in equiangular triangles (== 60° and equal side length)
|
||||
Colour = GetTriangleShade(),
|
||||
Size = new Vector2(size, 0.866f * size),
|
||||
|
Loading…
Reference in New Issue
Block a user