Formatting and naming

This commit is contained in:
Dean Herbert 2019-01-04 15:34:32 +09:00
parent 4c3310ca80
commit c528a3896d
4 changed files with 10 additions and 13 deletions

View File

@ -112,12 +112,11 @@ namespace osu.Game.Configuration
{
}
public override TrackedSettings CreateTrackedSettings() =>
new TrackedSettings
{
new TrackedSetting<bool>(OsuSetting.MouseDisableButtons, v => new SettingDescription(!v, "gameplay mouse buttons", v ? "disabled" : "enabled")),
new TrackedSetting<ScalingMode>(OsuSetting.Scaling, m => new SettingDescription(m, "scaling", m.GetDescription())),
};
public override TrackedSettings CreateTrackedSettings() => new TrackedSettings
{
new TrackedSetting<bool>(OsuSetting.MouseDisableButtons, v => new SettingDescription(!v, "gameplay mouse buttons", v ? "disabled" : "enabled")),
new TrackedSetting<ScalingMode>(OsuSetting.Scaling, m => new SettingDescription(m, "scaling", m.GetDescription())),
};
}
public enum OsuSetting

View File

@ -7,7 +7,6 @@ namespace osu.Game.Configuration
{
public enum ScalingMode
{
Off,
Everything,
[Description("Excluding overlays")]

View File

@ -182,12 +182,11 @@ namespace osu.Game.Screens.Play
},
new ScalingContainer(ScalingMode.Gameplay)
{
Child =
new LocalSkinOverrideContainer(working.Skin)
{
RelativeSizeAxes = Axes.Both,
Child = RulesetContainer
}
Child = new LocalSkinOverrideContainer(working.Skin)
{
RelativeSizeAxes = Axes.Both,
Child = RulesetContainer
}
},
new BreakOverlay(beatmap.BeatmapInfo.LetterboxInBreaks, ScoreProcessor)
{