diff --git a/osu.Game.Rulesets.Mania/Objects/BarLine.cs b/osu.Game.Rulesets.Mania/Objects/BarLine.cs
index 50e326086e..76a3d3920d 100644
--- a/osu.Game.Rulesets.Mania/Objects/BarLine.cs
+++ b/osu.Game.Rulesets.Mania/Objects/BarLine.cs
@@ -1,18 +1,21 @@
-using osu.Game.Beatmaps.ControlPoints;
-
-namespace osu.Game.Rulesets.Mania.Objects
-{
- public class BarLine : ManiaHitObject
- {
- ///
- /// The control point which this bar line is part of.
- ///
- public TimingControlPoint ControlPoint;
-
- ///
- /// The index of the beat which this bar line represents within the control point.
- /// This is a "major" bar line if % == 0.
- ///
- public int BeatIndex;
- }
+// Copyright (c) 2007-2017 ppy Pty Ltd .
+// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
+
+using osu.Game.Beatmaps.ControlPoints;
+
+namespace osu.Game.Rulesets.Mania.Objects
+{
+ public class BarLine : ManiaHitObject
+ {
+ ///
+ /// The control point which this bar line is part of.
+ ///
+ public TimingControlPoint ControlPoint;
+
+ ///
+ /// The index of the beat which this bar line represents within the control point.
+ /// This is a "major" bar line if % == 0.
+ ///
+ public int BeatIndex;
+ }
}
\ No newline at end of file
diff --git a/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableBarLine.cs b/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableBarLine.cs
index 7554472507..0b4d8b2d4e 100644
--- a/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableBarLine.cs
+++ b/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableBarLine.cs
@@ -1,74 +1,74 @@
-// Copyright (c) 2007-2017 ppy Pty Ltd .
-// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
-
-using OpenTK;
-using osu.Framework.Graphics;
-using osu.Framework.Graphics.Sprites;
-using osu.Game.Rulesets.Objects.Drawables;
-
-namespace osu.Game.Rulesets.Mania.Objects.Drawables
-{
- ///
- /// Visualises a . Although this derives DrawableManiaHitObject,
- /// this does not handle input/sound like a normal hit object.
- ///
- public class DrawableBarLine : DrawableManiaHitObject
- {
- ///
- /// Height of major bar line triangles.
- ///
- private const float triangle_height = 12;
-
- ///
- /// Offset of the major bar line triangles from the sides of the bar line.
- ///
- private const float triangle_offset = 9;
-
- public DrawableBarLine(BarLine barLine)
- : base(barLine)
- {
- RelativeSizeAxes = Axes.X;
- Height = 1;
-
- Add(new Box
- {
- Name = "Bar line",
- Anchor = Anchor.BottomCentre,
- Origin = Anchor.BottomCentre,
- RelativeSizeAxes = Axes.Both,
- });
-
- bool isMajor = barLine.BeatIndex % (int)barLine.ControlPoint.TimeSignature == 0;
-
- if (isMajor)
- {
- Add(new EquilateralTriangle
- {
- Name = "Left triangle",
- Anchor = Anchor.BottomLeft,
- Origin = Anchor.TopCentre,
- Size = new Vector2(triangle_height),
- X = -triangle_offset,
- Rotation = 90
- });
-
- Add(new EquilateralTriangle
- {
- Name = "Right triangle",
- Anchor = Anchor.BottomRight,
- Origin = Anchor.TopCentre,
- Size = new Vector2(triangle_height),
- X = triangle_offset,
- Rotation = -90
- });
- }
-
- if (!isMajor && barLine.BeatIndex % 2 == 1)
- Alpha = 0.2f;
- }
-
- protected override void UpdateState(ArmedState state)
- {
- }
- }
+// Copyright (c) 2007-2017 ppy Pty Ltd .
+// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
+
+using OpenTK;
+using osu.Framework.Graphics;
+using osu.Framework.Graphics.Sprites;
+using osu.Game.Rulesets.Objects.Drawables;
+
+namespace osu.Game.Rulesets.Mania.Objects.Drawables
+{
+ ///
+ /// Visualises a . Although this derives DrawableManiaHitObject,
+ /// this does not handle input/sound like a normal hit object.
+ ///
+ public class DrawableBarLine : DrawableManiaHitObject
+ {
+ ///
+ /// Height of major bar line triangles.
+ ///
+ private const float triangle_height = 12;
+
+ ///
+ /// Offset of the major bar line triangles from the sides of the bar line.
+ ///
+ private const float triangle_offset = 9;
+
+ public DrawableBarLine(BarLine barLine)
+ : base(barLine)
+ {
+ RelativeSizeAxes = Axes.X;
+ Height = 1;
+
+ Add(new Box
+ {
+ Name = "Bar line",
+ Anchor = Anchor.BottomCentre,
+ Origin = Anchor.BottomCentre,
+ RelativeSizeAxes = Axes.Both,
+ });
+
+ bool isMajor = barLine.BeatIndex % (int)barLine.ControlPoint.TimeSignature == 0;
+
+ if (isMajor)
+ {
+ Add(new EquilateralTriangle
+ {
+ Name = "Left triangle",
+ Anchor = Anchor.BottomLeft,
+ Origin = Anchor.TopCentre,
+ Size = new Vector2(triangle_height),
+ X = -triangle_offset,
+ Rotation = 90
+ });
+
+ Add(new EquilateralTriangle
+ {
+ Name = "Right triangle",
+ Anchor = Anchor.BottomRight,
+ Origin = Anchor.TopCentre,
+ Size = new Vector2(triangle_height),
+ X = triangle_offset,
+ Rotation = -90
+ });
+ }
+
+ if (!isMajor && barLine.BeatIndex % 2 == 1)
+ Alpha = 0.2f;
+ }
+
+ protected override void UpdateState(ArmedState state)
+ {
+ }
+ }
}
\ No newline at end of file