mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 02:27:25 +08:00
Merge pull request #142 from Tom94/smooth-wedged-buttons
Smoothen wedged buttons in main menu and the wedges on song select ba…
This commit is contained in:
commit
6ce9491f00
@ -1 +1 @@
|
||||
Subproject commit 4631a91f00e8be3eddf13736b5ecd8d25d6d3918
|
||||
Subproject commit 9e9145afcd1d37c56f89a6ae6e7b59e43d51037e
|
@ -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
|
||||
{
|
||||
|
@ -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),
|
||||
},
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user