From f9bf1c69bf73b34f88154bcce074f9f2a59de56d Mon Sep 17 00:00:00 2001 From: Jorolf Date: Tue, 4 Apr 2017 18:23:29 +0200 Subject: [PATCH] add Flags to BarDirection and remove unused "using" --- osu.Desktop.VisualTests/Tests/TestCaseGraphAndBar.cs | 1 - osu.Game/Graphics/UserInterface/BarGraph.cs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Desktop.VisualTests/Tests/TestCaseGraphAndBar.cs b/osu.Desktop.VisualTests/Tests/TestCaseGraphAndBar.cs index 571a5031c8..5ae64b5e73 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseGraphAndBar.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseGraphAndBar.cs @@ -5,7 +5,6 @@ using OpenTK; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Graphics.UserInterface; -using System.Collections.Generic; using System.Linq; namespace osu.Desktop.VisualTests.Tests diff --git a/osu.Game/Graphics/UserInterface/BarGraph.cs b/osu.Game/Graphics/UserInterface/BarGraph.cs index 2daa19bb4e..8f02f14ea8 100644 --- a/osu.Game/Graphics/UserInterface/BarGraph.cs +++ b/osu.Game/Graphics/UserInterface/BarGraph.cs @@ -7,6 +7,7 @@ using osu.Framework.Graphics; using osu.Framework.Graphics.Colour; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; +using System; using System.Collections.Generic; using System.Linq; @@ -166,6 +167,7 @@ namespace osu.Game.Graphics.UserInterface } } + [Flags] public enum BarDirection { LeftToRight = 1 << 0,