mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Implement ShearedSliderBar.cs and corresponding TestSceneShearedSliderBar.cs
This commit is contained in:
@ -9,8 +9,16 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public partial class ShearedNub : Nub
|
||||
{
|
||||
public const int HEIGHT = 30;
|
||||
public const float EXPANDED_SIZE = 50;
|
||||
|
||||
public static readonly Vector2 SHEAR = new Vector2(0.15f, 0);
|
||||
|
||||
public ShearedNub()
|
||||
{
|
||||
Size = new Vector2(EXPANDED_SIZE, HEIGHT);
|
||||
}
|
||||
|
||||
protected override Container CreateNubContainer() =>
|
||||
new Container
|
||||
{
|
||||
|
Reference in New Issue
Block a user