1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 07:51:17 +08:00

Move SHEAR constant to OsuGame and revert back to 0.2x (i.e. master)

Discussed in [discord](https://discord.com/channels/188630481301012481/188630652340404224/1240490608934653984).
This commit is contained in:
Salman Ahmed
2024-05-16 07:27:54 +03:00
Unverified
parent 9265290acf
commit 310b4d90cc
13 changed files with 25 additions and 23 deletions
@@ -53,7 +53,7 @@ namespace osu.Game.Graphics.UserInterface
public ShearedSearchTextBox()
{
Height = 42;
Shear = new Vector2(ShearedOverlayContainer.SHEAR, 0);
Shear = new Vector2(OsuGame.SHEAR, 0);
Masking = true;
CornerRadius = corner_radius;
@@ -116,7 +116,7 @@ namespace osu.Game.Graphics.UserInterface
PlaceholderText = CommonStrings.InputSearch;
CornerRadius = corner_radius;
TextContainer.Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0);
TextContainer.Shear = new Vector2(-OsuGame.SHEAR, 0);
}
protected override SpriteText CreatePlaceholder() => new SearchPlaceholder();