mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
supress horizontal scaling of left-and-right stages
This commit is contained in:
parent
e64e44ecf9
commit
b06017dbf1
@ -52,10 +52,10 @@ namespace osu.Game.Rulesets.Mania.Skinning
|
||||
base.Update();
|
||||
|
||||
if (leftSprite?.Height > 0)
|
||||
leftSprite.Scale = new Vector2(DrawHeight / leftSprite.Height);
|
||||
leftSprite.Scale = new Vector2(1, DrawHeight / leftSprite.Height);
|
||||
|
||||
if (rightSprite?.Height > 0)
|
||||
rightSprite.Scale = new Vector2(DrawHeight / rightSprite.Height);
|
||||
rightSprite.Scale = new Vector2(1, DrawHeight / rightSprite.Height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user