Move shear constant to overlay (this is going to likely be used everywhere ever)

This commit is contained in:
Dean Herbert
2022-04-20 16:30:58 +09:00
parent e17f224793
commit 65b2db5e71
5 changed files with 16 additions and 15 deletions

View File

@ -93,7 +93,7 @@ namespace osu.Game.Overlays.Mods
Child = columnFlow = new ModColumnContainer
{
Direction = FillDirection.Horizontal,
Shear = new Vector2(ModPanel.SHEAR_X, 0),
Shear = new Vector2(SHEAR, 0),
RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X,
Spacing = new Vector2(10, 0),
@ -284,7 +284,7 @@ namespace osu.Game.Overlays.Mods
{
Padding = new MarginPadding
{
Left = DrawHeight * ModPanel.SHEAR_X,
Left = DrawHeight * SHEAR,
Bottom = 10
};