mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 07:27:45 +08:00
move to ctor
This commit is contained in:
parent
19b7036b95
commit
5d395e6d37
@ -171,7 +171,8 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
LabelText = GameplaySettingsStrings.BackgroundDim,
|
||||
Current = scalingBackgroundDim,
|
||||
KeyboardStep = 0.01f,
|
||||
DisplayAsPercentage = true
|
||||
DisplayAsPercentage = true,
|
||||
TransferValueOnCommit = false
|
||||
},
|
||||
}
|
||||
},
|
||||
@ -232,7 +233,6 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
{
|
||||
if (s == dimSlider)
|
||||
{
|
||||
s.TransferValueOnCommit = false;
|
||||
s.CanBeShown.Value = scalingMode.Value == ScalingMode.Everything || scalingMode.Value == ScalingMode.ExcludeOverlays;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user