Move shear amount to constant

This commit is contained in:
Bartłomiej Dach
2022-03-31 22:09:03 +02:00
parent 3ac0da2da3
commit b3896257ca
2 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,7 @@ namespace osu.Game.Tests.Visual.UserInterface
AddStep("create button", () =>
{
Child = button = new ShearedToggleButton(0.2f)
Child = button = new ShearedToggleButton
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
@ -43,7 +43,7 @@ namespace osu.Game.Tests.Visual.UserInterface
AddStep("create button", () =>
{
Child = button = new ShearedToggleButton(0.2f)
Child = button = new ShearedToggleButton
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,