1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 07:09:54 +08:00

Add comment mentioning why event bindings are not unbound

This commit is contained in:
Dean Herbert
2021-08-13 15:24:43 +09:00
Unverified
parent e913c8f92f
commit 5cec50bdd1
+1
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();
}