mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 16:02:58 +08:00
Use alpha instead of colour opacity
This commit is contained in:
parent
b6301f6537
commit
a366a92d4c
@ -2,7 +2,6 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
@ -119,7 +118,8 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = Color4.Black.Opacity(0.5f),
|
||||
Colour = Color4.Black,
|
||||
Alpha = 0.5f
|
||||
},
|
||||
content = new Container
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user