mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Use colours to distinguish buttons better
This commit is contained in:
parent
a633fcdb49
commit
c4f08b42ab
@ -9,6 +9,7 @@ using osu.Framework.Graphics;
|
|||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Input.Events;
|
using osu.Framework.Input.Events;
|
||||||
using osu.Game.Beatmaps.ControlPoints;
|
using osu.Game.Beatmaps.ControlPoints;
|
||||||
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Graphics.UserInterfaceV2;
|
using osu.Game.Graphics.UserInterfaceV2;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
@ -30,7 +31,7 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
private Bindable<ControlPointGroup?> selectedGroup { get; set; } = null!;
|
private Bindable<ControlPointGroup?> selectedGroup { get; set; } = null!;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
@ -59,6 +60,7 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
Action = delete,
|
Action = delete,
|
||||||
Anchor = Anchor.BottomRight,
|
Anchor = Anchor.BottomRight,
|
||||||
Origin = Anchor.BottomRight,
|
Origin = Anchor.BottomRight,
|
||||||
|
BackgroundColour = colours.Red3,
|
||||||
},
|
},
|
||||||
addButton = new RoundedButton
|
addButton = new RoundedButton
|
||||||
{
|
{
|
||||||
@ -66,6 +68,7 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
Size = new Vector2(160, 30),
|
Size = new Vector2(160, 30),
|
||||||
Anchor = Anchor.BottomRight,
|
Anchor = Anchor.BottomRight,
|
||||||
Origin = Anchor.BottomRight,
|
Origin = Anchor.BottomRight,
|
||||||
|
BackgroundColour = colours.Green3,
|
||||||
},
|
},
|
||||||
new RoundedButton
|
new RoundedButton
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user