mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Add comment mentioning why event bindings are not unbound
This commit is contained in:
@ -35,6 +35,7 @@ namespace osu.Game.Screens.OnlinePlay
|
|||||||
Origin = Anchor.CentreLeft,
|
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.ScreenPushed += (_, __) => updateSubScreenTitle();
|
||||||
stack.ScreenExited += (_, __) => updateSubScreenTitle();
|
stack.ScreenExited += (_, __) => updateSubScreenTitle();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user