mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:22:57 +08:00
Add comments
This commit is contained in:
parent
e0c73eb362
commit
f1b66da469
@ -50,6 +50,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
|
|||||||
upSprite = new Sprite
|
upSprite = new Sprite
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomCentre,
|
Origin = Anchor.BottomCentre,
|
||||||
|
// ClampToEdge is used to avoid gaps between keys, see: https://github.com/ppy/osu/issues/27431
|
||||||
Texture = skin.GetTexture(upImage, WrapMode.ClampToEdge, WrapMode.ClampToEdge),
|
Texture = skin.GetTexture(upImage, WrapMode.ClampToEdge, WrapMode.ClampToEdge),
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Width = 1
|
Width = 1
|
||||||
@ -57,6 +58,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
|
|||||||
downSprite = new Sprite
|
downSprite = new Sprite
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomCentre,
|
Origin = Anchor.BottomCentre,
|
||||||
|
// ClampToEdge is used to avoid gaps between keys, see: https://github.com/ppy/osu/issues/27431
|
||||||
Texture = skin.GetTexture(downImage, WrapMode.ClampToEdge, WrapMode.ClampToEdge),
|
Texture = skin.GetTexture(downImage, WrapMode.ClampToEdge, WrapMode.ClampToEdge),
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Width = 1,
|
Width = 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user