mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Make sliderbar lines smoother when scrolling.
This commit is contained in:
@ -31,6 +31,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
leftBox = new Box
|
leftBox = new Box
|
||||||
{
|
{
|
||||||
Height = 2,
|
Height = 2,
|
||||||
|
EdgeSmoothness = new Vector2(0, 0.5f),
|
||||||
Position = new Vector2(2, 0),
|
Position = new Vector2(2, 0),
|
||||||
RelativeSizeAxes = Axes.None,
|
RelativeSizeAxes = Axes.None,
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
@ -39,6 +40,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
rightBox = new Box
|
rightBox = new Box
|
||||||
{
|
{
|
||||||
Height = 2,
|
Height = 2,
|
||||||
|
EdgeSmoothness = new Vector2(0, 0.5f),
|
||||||
Position = new Vector2(-2, 0),
|
Position = new Vector2(-2, 0),
|
||||||
RelativeSizeAxes = Axes.None,
|
RelativeSizeAxes = Axes.None,
|
||||||
Anchor = Anchor.CentreRight,
|
Anchor = Anchor.CentreRight,
|
||||||
|
Reference in New Issue
Block a user