From 90c889a7ce3ef41202e82fa152735c5f308e8343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 6 Nov 2016 19:34:44 +0100 Subject: [PATCH 1/2] Smoothen wedged buttons in main menu and the wedges on song select background. --- osu-framework | 2 +- osu.Game/GameModes/Menu/Button.cs | 1 + osu.Game/GameModes/Play/PlaySongSelect.cs | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/osu-framework b/osu-framework index 4631a91f00..9901eb4480 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 4631a91f00e8be3eddf13736b5ecd8d25d6d3918 +Subproject commit 9901eb4480ecc57364987166221a61567b9ef8eb diff --git a/osu.Game/GameModes/Menu/Button.cs b/osu.Game/GameModes/Menu/Button.cs index 012c000f9c..07e46ab0f9 100644 --- a/osu.Game/GameModes/Menu/Button.cs +++ b/osu.Game/GameModes/Menu/Button.cs @@ -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 { diff --git a/osu.Game/GameModes/Play/PlaySongSelect.cs b/osu.Game/GameModes/Play/PlaySongSelect.cs index a2855d55b5..a05e02ae3b 100644 --- a/osu.Game/GameModes/Play/PlaySongSelect.cs +++ b/osu.Game/GameModes/Play/PlaySongSelect.cs @@ -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), }, } }, From fa8d668cb69860e88c8b2b88f1f7316dfb25f659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 6 Nov 2016 19:59:30 +0100 Subject: [PATCH 2/2] Update framework. --- osu-framework | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu-framework b/osu-framework index 9901eb4480..9e9145afcd 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 9901eb4480ecc57364987166221a61567b9ef8eb +Subproject commit 9e9145afcd1d37c56f89a6ae6e7b59e43d51037e