mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 16:43:00 +08:00
Formatting and naming
This commit is contained in:
parent
4c3310ca80
commit
c528a3896d
@ -112,12 +112,11 @@ namespace osu.Game.Configuration
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public override TrackedSettings CreateTrackedSettings() =>
|
public override TrackedSettings CreateTrackedSettings() => new TrackedSettings
|
||||||
new TrackedSettings
|
{
|
||||||
{
|
new TrackedSetting<bool>(OsuSetting.MouseDisableButtons, v => new SettingDescription(!v, "gameplay mouse buttons", v ? "disabled" : "enabled")),
|
||||||
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())),
|
||||||
new TrackedSetting<ScalingMode>(OsuSetting.Scaling, m => new SettingDescription(m, "scaling", m.GetDescription())),
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum OsuSetting
|
public enum OsuSetting
|
||||||
|
@ -7,7 +7,6 @@ namespace osu.Game.Configuration
|
|||||||
{
|
{
|
||||||
public enum ScalingMode
|
public enum ScalingMode
|
||||||
{
|
{
|
||||||
|
|
||||||
Off,
|
Off,
|
||||||
Everything,
|
Everything,
|
||||||
[Description("Excluding overlays")]
|
[Description("Excluding overlays")]
|
||||||
|
@ -182,12 +182,11 @@ namespace osu.Game.Screens.Play
|
|||||||
},
|
},
|
||||||
new ScalingContainer(ScalingMode.Gameplay)
|
new ScalingContainer(ScalingMode.Gameplay)
|
||||||
{
|
{
|
||||||
Child =
|
Child = new LocalSkinOverrideContainer(working.Skin)
|
||||||
new LocalSkinOverrideContainer(working.Skin)
|
{
|
||||||
{
|
RelativeSizeAxes = Axes.Both,
|
||||||
RelativeSizeAxes = Axes.Both,
|
Child = RulesetContainer
|
||||||
Child = RulesetContainer
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
new BreakOverlay(beatmap.BeatmapInfo.LetterboxInBreaks, ScoreProcessor)
|
new BreakOverlay(beatmap.BeatmapInfo.LetterboxInBreaks, ScoreProcessor)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user