mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:33:20 +08:00
Hide left border of beatmap wedge
This commit is contained in:
parent
7725336008
commit
0e66a05963
@ -35,6 +35,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
public class BeatmapInfoWedge : VisibilityContainer
|
||||
{
|
||||
public const float BORDER_THICKNESS = 2.5f;
|
||||
private const float shear_width = 36.75f;
|
||||
|
||||
private static readonly Vector2 wedged_container_shear = new Vector2(shear_width / SongSelect.WEDGE_HEIGHT, 0);
|
||||
@ -59,7 +60,7 @@ namespace osu.Game.Screens.Select
|
||||
Shear = wedged_container_shear;
|
||||
Masking = true;
|
||||
BorderColour = new Color4(221, 255, 255, 255);
|
||||
BorderThickness = 2.5f;
|
||||
BorderThickness = BORDER_THICKNESS;
|
||||
Alpha = 0;
|
||||
EdgeEffect = new EdgeEffectParameters
|
||||
{
|
||||
|
@ -203,6 +203,7 @@ namespace osu.Game.Screens.Select
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Right = left_area_padding,
|
||||
Left = -BeatmapInfoWedge.BORDER_THICKNESS, // Hide the left border
|
||||
},
|
||||
},
|
||||
new Container
|
||||
|
Loading…
Reference in New Issue
Block a user