1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:17:26 +08:00

Make sliderbar lines smoother when scrolling.

This commit is contained in:
Dean Herbert 2017-02-04 20:56:14 +09:00
parent 1e3266a9d2
commit 97d52188b2

View File

@ -31,6 +31,7 @@ namespace osu.Game.Graphics.UserInterface
leftBox = new Box
{
Height = 2,
EdgeSmoothness = new Vector2(0, 0.5f),
Position = new Vector2(2, 0),
RelativeSizeAxes = Axes.None,
Anchor = Anchor.CentreLeft,
@ -39,6 +40,7 @@ namespace osu.Game.Graphics.UserInterface
rightBox = new Box
{
Height = 2,
EdgeSmoothness = new Vector2(0, 0.5f),
Position = new Vector2(-2, 0),
RelativeSizeAxes = Axes.None,
Anchor = Anchor.CentreRight,