Implement settings keywords

This commit is contained in:
Andrei Zavatski
2019-11-20 19:27:34 +03:00
parent a81c26577d
commit e820ddd3e8
10 changed files with 35 additions and 9 deletions

View File

@ -75,12 +75,14 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
LabelText = "UI Scaling",
TransferValueOnCommit = true,
Bindable = osuConfig.GetBindable<float>(OsuSetting.UIScale),
KeyboardStep = 0.01f
KeyboardStep = 0.01f,
Keywords = new[] { "Scale" },
},
new SettingsEnumDropdown<ScalingMode>
{
LabelText = "Screen Scaling",
Bindable = osuConfig.GetBindable<ScalingMode>(OsuSetting.Scaling),
Keywords = new[] { "Scale" },
},
scalingSettings = new FillFlowContainer<SettingsSlider<float>>
{