mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Add comment mentioning why event bindings are not unbound
This commit is contained in:
parent
e913c8f92f
commit
5cec50bdd1
@ -35,6 +35,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
Origin = Anchor.CentreLeft,
|
||||
};
|
||||
|
||||
// unnecessary to unbind these as this header has the same lifetime as the screen stack we are attaching to.
|
||||
stack.ScreenPushed += (_, __) => updateSubScreenTitle();
|
||||
stack.ScreenExited += (_, __) => updateSubScreenTitle();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user