mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Change default masking value to true
This commit is contained in:
parent
6ba3546be5
commit
e003ecb593
@ -15,6 +15,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
|
||||
{
|
||||
TriangleScale = 1.2f;
|
||||
HideAlphaDiscrepancies = false;
|
||||
Masking = false;
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
|
@ -78,9 +78,9 @@ namespace osu.Game.Graphics.Backgrounds
|
||||
|
||||
/// <summary>
|
||||
/// If enabled, only the portion of triangles that falls within this <see cref="Drawable"/>'s
|
||||
/// shape is drawn to the screen.
|
||||
/// shape is drawn to the screen. Default is true.
|
||||
/// </summary>
|
||||
public bool Masking { get; set; }
|
||||
public bool Masking { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Whether we should drop-off alpha values of triangles more quickly to improve
|
||||
|
@ -34,9 +34,9 @@ namespace osu.Game.Graphics.Backgrounds
|
||||
|
||||
/// <summary>
|
||||
/// If enabled, only the portion of triangles that falls within this <see cref="Drawable"/>'s
|
||||
/// shape is drawn to the screen.
|
||||
/// shape is drawn to the screen. Default is true.
|
||||
/// </summary>
|
||||
public bool Masking { get; set; }
|
||||
public bool Masking { get; set; } = true;
|
||||
|
||||
private readonly BindableFloat spawnRatio = new BindableFloat(1f);
|
||||
|
||||
|
@ -150,6 +150,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
TriangleScale = 4,
|
||||
ColourDark = OsuColour.Gray(0.88f),
|
||||
Shear = new Vector2(-0.2f, 0),
|
||||
Masking = false
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -68,7 +68,6 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
||||
SpawnRatio = 0.6f,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Depth = float.MaxValue,
|
||||
Masking = true
|
||||
});
|
||||
|
||||
updateColours();
|
||||
|
@ -50,7 +50,6 @@ namespace osu.Game.Online.Leaderboards
|
||||
ColourDark = rankColour.Darken(0.1f),
|
||||
ColourLight = rankColour.Lighten(0.1f),
|
||||
Velocity = 0.25f,
|
||||
Masking = true
|
||||
},
|
||||
new OsuSpriteText
|
||||
{
|
||||
|
@ -150,7 +150,6 @@ namespace osu.Game.Overlays.Dialog
|
||||
ColourLight = Color4Extensions.FromHex(@"271e26"),
|
||||
ColourDark = Color4Extensions.FromHex(@"1e171e"),
|
||||
TriangleScale = 4,
|
||||
Masking = true
|
||||
},
|
||||
flashLayer = new Box
|
||||
{
|
||||
|
@ -95,6 +95,7 @@ namespace osu.Game.Overlays.Mods
|
||||
Height = header_height,
|
||||
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0),
|
||||
Velocity = 0.7f,
|
||||
Masking = false
|
||||
},
|
||||
headerText = new OsuTextFlowContainer(t =>
|
||||
{
|
||||
|
@ -255,7 +255,6 @@ namespace osu.Game.Overlays.Toolbar
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
ColourLight = OsuColour.Gray(40),
|
||||
ColourDark = OsuColour.Gray(20),
|
||||
Masking = true
|
||||
},
|
||||
};
|
||||
}
|
||||
|
@ -192,7 +192,6 @@ namespace osu.Game.Screens.Menu
|
||||
ColourLight = Color4Extensions.FromHex(@"ff7db7"),
|
||||
ColourDark = Color4Extensions.FromHex(@"de5b95"),
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Masking = true
|
||||
},
|
||||
}
|
||||
},
|
||||
|
@ -110,7 +110,6 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
ColourLight = Color4Extensions.FromHex(@"3a7285"),
|
||||
ColourDark = Color4Extensions.FromHex(@"123744"),
|
||||
Masking = true
|
||||
},
|
||||
new FillFlowContainer
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user