1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:07:33 +08:00

Add border to popover for better visual contrast

This commit is contained in:
Bartłomiej Dach 2022-07-23 16:22:09 +02:00
parent 1b3074d098
commit 059a465fe8
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -95,6 +95,9 @@ namespace osu.Game.Overlays.Mods
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider, OsuColour colours) private void load(OverlayColourProvider colourProvider, OsuColour colours)
{ {
Body.BorderThickness = 3;
Body.BorderColour = colours.Orange1;
createButton.DarkerColour = colours.Orange1; createButton.DarkerColour = colours.Orange1;
createButton.LighterColour = colours.Orange0; createButton.LighterColour = colours.Orange0;
createButton.TextColour = colourProvider.Background6; createButton.TextColour = colourProvider.Background6;