mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 17:27:48 +08:00
CalculatedTextSize
-> FontSize
This commit is contained in:
parent
f0364f01ea
commit
a0813d18ca
@ -23,7 +23,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
protected override Drawable GetDrawableCharacter(char c) => new FallingDownContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Child = new PasswordMaskChar(CalculatedTextSize),
|
||||
Child = new PasswordMaskChar(FontSize),
|
||||
};
|
||||
|
||||
protected override bool AllowUniqueCharacterSamples => false;
|
||||
|
@ -268,7 +268,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
protected override Drawable GetDrawableCharacter(char c) => new FallingDownContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Child = new OsuSpriteText { Text = c.ToString(), Font = OsuFont.GetFont(size: CalculatedTextSize) },
|
||||
Child = new OsuSpriteText { Text = c.ToString(), Font = OsuFont.GetFont(size: FontSize) },
|
||||
};
|
||||
|
||||
protected override Caret CreateCaret() => caret = new OsuCaret
|
||||
|
@ -110,7 +110,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
BackgroundFocused = colourProvider.Background4;
|
||||
BackgroundUnfocused = colourProvider.Background4;
|
||||
|
||||
Placeholder.Font = OsuFont.GetFont(size: CalculatedTextSize, weight: FontWeight.SemiBold);
|
||||
Placeholder.Font = OsuFont.GetFont(size: FontSize, weight: FontWeight.SemiBold);
|
||||
PlaceholderText = CommonStrings.InputSearch;
|
||||
|
||||
CornerRadius = corner_radius;
|
||||
|
Loading…
Reference in New Issue
Block a user