1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 16:12:57 +08:00

Add better comments explaining empty actions

This commit is contained in:
Andrei Zavatski 2021-05-11 15:56:50 +03:00
parent 705aad262a
commit 01f5c77dac
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ namespace osu.Game.Overlays.News.Sidebar
{
IdleColour = colourProvider.Light2;
HoverColour = colourProvider.Light1;
Action = () => { }; // TODO
Action = () => { }; // Avoid button being disabled since there's no proper action assigned.
}
}
}

View File

@ -93,7 +93,7 @@ namespace osu.Game.Overlays.News.Sidebar
{
IdleColour = colourProvider.Light2;
HoverColour = colourProvider.Light1;
Action = () => { }; // TODO
Action = () => { }; // Avoid button being disabled since there's no proper action assigned.
}
}
}