mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +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();
|
base.Update();
|
||||||
|
|
||||||
if (leftSprite?.Height > 0)
|
if (leftSprite?.Height > 0)
|
||||||
leftSprite.Scale = new Vector2(DrawHeight / leftSprite.Height);
|
leftSprite.Scale = new Vector2(1, DrawHeight / leftSprite.Height);
|
||||||
|
|
||||||
if (rightSprite?.Height > 0)
|
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