mirror of
https://github.com/ppy/osu.git
synced 2025-03-25 03:07:34 +08:00
Rename method
This commit is contained in:
parent
cd07ddfe28
commit
1803ee4025
@ -474,7 +474,7 @@ namespace osu.Game.Screens.Edit
|
||||
changeHandler?.CanUndo.BindValueChanged(v => undoMenuItem.Action.Disabled = !v.NewValue, true);
|
||||
changeHandler?.CanRedo.BindValueChanged(v => redoMenuItem.Action.Disabled = !v.NewValue, true);
|
||||
|
||||
editorBackgroundDim.BindValueChanged(_ => dimBackground());
|
||||
editorBackgroundDim.BindValueChanged(_ => setUpBackground());
|
||||
}
|
||||
|
||||
[Resolved]
|
||||
@ -863,17 +863,17 @@ namespace osu.Game.Screens.Edit
|
||||
public override void OnEntering(ScreenTransitionEvent e)
|
||||
{
|
||||
base.OnEntering(e);
|
||||
dimBackground();
|
||||
setUpBackground();
|
||||
resetTrack(true);
|
||||
}
|
||||
|
||||
public override void OnResuming(ScreenTransitionEvent e)
|
||||
{
|
||||
base.OnResuming(e);
|
||||
dimBackground();
|
||||
setUpBackground();
|
||||
}
|
||||
|
||||
private void dimBackground()
|
||||
private void setUpBackground()
|
||||
{
|
||||
ApplyToBackground(b =>
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user