Add search keywords for screen scaling sub-settings

This commit is contained in:
Dean Herbert 2023-01-22 13:47:31 +09:00
parent 292fd345bc
commit 7040743249
1 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,7 @@ private void load(FrameworkConfigManager config, OsuConfigManager osuConfig, Gam
new SettingsSlider<float>
{
LabelText = GraphicsSettingsStrings.HorizontalPosition,
Keywords = new[] { "screen", "scaling" },
Current = scalingPositionX,
KeyboardStep = 0.01f,
DisplayAsPercentage = true
@ -140,6 +141,7 @@ private void load(FrameworkConfigManager config, OsuConfigManager osuConfig, Gam
new SettingsSlider<float>
{
LabelText = GraphicsSettingsStrings.VerticalPosition,
Keywords = new[] { "screen", "scaling" },
Current = scalingPositionY,
KeyboardStep = 0.01f,
DisplayAsPercentage = true
@ -147,6 +149,7 @@ private void load(FrameworkConfigManager config, OsuConfigManager osuConfig, Gam
new SettingsSlider<float>
{
LabelText = GraphicsSettingsStrings.HorizontalScale,
Keywords = new[] { "screen", "scaling" },
Current = scalingSizeX,
KeyboardStep = 0.01f,
DisplayAsPercentage = true
@ -154,6 +157,7 @@ private void load(FrameworkConfigManager config, OsuConfigManager osuConfig, Gam
new SettingsSlider<float>
{
LabelText = GraphicsSettingsStrings.VerticalScale,
Keywords = new[] { "screen", "scaling" },
Current = scalingSizeY,
KeyboardStep = 0.01f,
DisplayAsPercentage = true