some formatting

This commit is contained in:
Jorolf
2017-04-04 17:27:08 +02:00
parent 078d44aec3
commit b2731bb0a1
6 changed files with 35 additions and 18 deletions

View File

@ -30,7 +30,6 @@ namespace osu.Game.Graphics.UserInterface
}
}
public IEnumerable<float> Values
{
set
@ -52,7 +51,6 @@ namespace osu.Game.Graphics.UserInterface
Direction = Direction,
BackgroundColour = new Color4(0, 0, 0, 0),
});
}
}
}
@ -141,6 +139,7 @@ namespace osu.Game.Graphics.UserInterface
case BarDirection.RightToLeft:
bar.ResizeTo(new Vector2(length, 1), resize_duration, easing);
break;
case BarDirection.TopToBottom:
case BarDirection.BottomToTop:
bar.ResizeTo(new Vector2(1, length), resize_duration, easing);
@ -154,6 +153,7 @@ namespace osu.Game.Graphics.UserInterface
bar.Anchor = Anchor.TopLeft;
bar.Origin = Anchor.TopLeft;
break;
case BarDirection.RightToLeft:
case BarDirection.BottomToTop:
bar.Anchor = Anchor.BottomRight;
@ -170,4 +170,4 @@ namespace osu.Game.Graphics.UserInterface
TopToBottom,
BottomToTop,
}
}
}