1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Smoothen wedged buttons in main menu and the wedges on song select background.

This commit is contained in:
Thomas Müller 2016-11-06 19:34:44 +01:00
parent 7989090f51
commit 90c889a7ce
3 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 4631a91f00e8be3eddf13736b5ecd8d25d6d3918
Subproject commit 9901eb4480ecc57364987166221a61567b9ef8eb

View File

@ -65,6 +65,7 @@ namespace osu.Game.GameModes.Menu
Scale = new Vector2(0, 1),
Size = boxSize,
Shear = new Vector2(ButtonSystem.wedge_width / boxSize.Y, 0),
EdgeSmoothness = new Vector2(2, 0),
},
iconText = new Container
{

View File

@ -59,6 +59,7 @@ namespace osu.Game.GameModes.Play
Size = new Vector2(1, 0.5f),
Colour = new Color4(0, 0, 0, 0.5f),
Shear = new Vector2(0.15f, 0),
EdgeSmoothness = new Vector2(2, 0),
},
new Box
{
@ -68,6 +69,7 @@ namespace osu.Game.GameModes.Play
Position = new Vector2(0, 1),
Colour = new Color4(0, 0, 0, 0.5f),
Shear = new Vector2(-0.15f, 0),
EdgeSmoothness = new Vector2(2, 0),
},
}
},