1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 11:02:57 +08:00

Add comment mentioning why hover is disabled on the notification type

This commit is contained in:
Dean Herbert 2023-09-19 16:35:22 +09:00
parent 8e199de78a
commit 0555d22eb8

View File

@ -83,6 +83,7 @@ namespace osu.Game.Database
card.Width = Content.DrawWidth;
}
// Disable hover so we don't have silly colour conflicts with the nested beatmap card.
protected override bool OnHover(HoverEvent e) => false;
protected override void OnHoverLost(HoverLostEvent e) { }