Add comment mentioning why event bindings are not unbound

This commit is contained in:
Dean Herbert
2021-08-13 15:24:43 +09:00
parent e913c8f92f
commit 5cec50bdd1

View File

@ -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();
}