mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09: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 class BeatmapInfoWedge : VisibilityContainer
|
||||||
{
|
{
|
||||||
|
public const float BORDER_THICKNESS = 2.5f;
|
||||||
private const float shear_width = 36.75f;
|
private const float shear_width = 36.75f;
|
||||||
|
|
||||||
private static readonly Vector2 wedged_container_shear = new Vector2(shear_width / SongSelect.WEDGE_HEIGHT, 0);
|
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;
|
Shear = wedged_container_shear;
|
||||||
Masking = true;
|
Masking = true;
|
||||||
BorderColour = new Color4(221, 255, 255, 255);
|
BorderColour = new Color4(221, 255, 255, 255);
|
||||||
BorderThickness = 2.5f;
|
BorderThickness = BORDER_THICKNESS;
|
||||||
Alpha = 0;
|
Alpha = 0;
|
||||||
EdgeEffect = new EdgeEffectParameters
|
EdgeEffect = new EdgeEffectParameters
|
||||||
{
|
{
|
||||||
|
@ -203,6 +203,7 @@ namespace osu.Game.Screens.Select
|
|||||||
Margin = new MarginPadding
|
Margin = new MarginPadding
|
||||||
{
|
{
|
||||||
Right = left_area_padding,
|
Right = left_area_padding,
|
||||||
|
Left = -BeatmapInfoWedge.BORDER_THICKNESS, // Hide the left border
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user