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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user